On Fri, Feb 22, 2013 at 12:11:58PM +0100, Gerd Hoffmann wrote: > The gtk code uses gtk_widget_get_realized which is available in 2.20+ > only, so make this the minimum accepted versions. Fixes build failures > on RHEL-6 (which ships 2.18) by not building gtk support there.
IMHO it'd be nicer to add the compat code to let it build with something like this: #if !GTK_CHECK_VERSION(2, 18, 0) #define gtk_widget_get_realized(w) GTK_WIDGET_REALIZED(w) #endif Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|