Re: Glade-2 and deprecated gdk_pixbuf_unref() call / Glade-3
- From: Daniel Yek <dyek real com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Glade-2 and deprecated gdk_pixbuf_unref() call / Glade-3
- Date: Wed, 27 Dec 2006 20:19:23 -0800
At 12:26 PM 12/27/2006, Daniel Yek wrote:
At 11:51 AM 12/27/2006, zz excite it 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]