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.
> >
> > Is there a recommended way to do that? Is Glade-2 going to be fixed to not
> > produce deprecated function calls?
> >
> > This particular fix is really easy -- just replacing gdk_pixbuf_unref()
> > with g_object_unref().
> > If there is no interest in fixing Glade-2, is there a work-around I can 
> use
> > without manually changing / post-processing the generated files?
>
>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

Thanks for pointing out such an obvious solution that I don't know how I 
missed.


-- 
Daniel Yek


>Ciao,
>Tito
>
> >
> >
> > Thanks.
> >

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to