At 12:26 PM 12/27/2006, Daniel Yek wrote: >At 11:51 AM 12/27/2006, [EMAIL PROTECTED] wrote: > >On Wednesday 27 December 2006 20:23, Daniel Yek wrote: > > > I'm trying to get rid of the deprecated gdk_pixbuf_unref() calls in the > > > *_interface.c files from Glade-2. > > > > >Maybe: > > > >#define gdk_pixbuf_unref g_object_unref > >That's right...adding the define to the compiler command line will do: >-Dgdk_pixbuf_unref=g_object_unref
Actually, I said that too fast. This would affect GTK+ header file function prototype and won't work. The solution is to include the #define in support.h generated by Glade-2. This is my work-around until we can adopt Glade-3 in the future. -- Daniel Yek _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list