On Thu, Oct 23, 2014 at 06:26:21PM +0200, Paolo Bonzini wrote: > > > On 10/23/2014 05:25 PM, Gerd Hoffmann wrote: > > gtk_widget_reparent is depricated in gtk 3.14. Unfortunaly the > > gtk_widget_{ref,unref} functions needed to to the same manually > > without having the widget destroyed while it has no parent are > > pretty new. So there is no way around #ifdef'ing the code, > > otherwise it breaks with older gtk versions, > > I cannot find gtk_widget_ref/unref in > https://developer.gnome.org/gtk3/stable/GtkWidget.html. How do they > differ from g_object_ref(G_OBJECT(widget))?
Indeed, it doesn't exist in GTK3 so I'm not sure how this built successfully on GTK3 ! It was deprecated in favour of g_object_ref from 2.12 and deleted in 3.x series. 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 :|