On Fri, Feb 22, 2013 at 07:51:30AM -0600, Anthony Liguori wrote: > Reported-by: Gerd Hoffman <kra...@redhat.com> > Suggested-by: Daniel Berrange <berra...@redhat.com> > Signed-off-by: Anthony Liguori <aligu...@us.ibm.com> > --- > ui/gtk.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/ui/gtk.c b/ui/gtk.c > index 5f91de4..46e30b9 100644 > --- a/ui/gtk.c > +++ b/ui/gtk.c > @@ -122,6 +122,10 @@ typedef struct GtkDisplayState > > static GtkDisplayState *global_state; > > +#if !GTK_CHECK_VERSION(2, 18, 0)
This version check is wrong - it needs to be "2, 20, 0", so that any <= 2.18.x gets the compat wrapper. > +#define gtk_widget_get_realized(widget) GTK_WIDGET_REALIZED(widget) > +#endif > + I've sent a patch to fix this & the other problems in 2.18 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 :|