GNOME Bugzilla – Bug 548086
goocanvas fails to build w/ gtk+ >= 2.13.0
Last modified: 2008-08-17 11:18:19 UTC
Please describe the problem: I filed a bug about this build issue with Gentoo but they determinined the issue is in the goocanvas build scripts. Please see that bug for info: http://bugs.gentoo.org/show_bug.cgi?id=234862 Basically it amounts to this: * gtk+-2.13 depreciates i.e. GtkSignalFunc function * GTK_DISABLE_DEPRECATED and other *_DISABLE_DEPRECATED macros are in Makefile.am files in the goocanvas source So you can't compile goocanvas against gtk+ >= 2.13.0. Possible solutions: 1. Don't use the function, it's apparently deprecated: http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkSignalFunc Maybe GtkFunction() is the intended replacement? It's not really celar. 2. Remove the manual specification of GTK_DISABLE_DEPRECATED in Makefile.am. This is probably not a great solution b/c there will be problems with GTK-3 when it arrives. 3. ??? Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
(In reply to comment #0) > 1. Don't use the function, it's apparently deprecated: > > http://library.gnome.org/devel/gtk/unstable/gtk-Types.html#GtkSignalFunc This is fixed in trunk > Maybe GtkFunction() is the intended replacement? It's not really celar. G_CALLBACK()
I've removed the XXX_DISABLE_DEPRECATED flags from the build as well, as we shouldn't break compilation when GTK+ deprecates stuff.