After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548086 - goocanvas fails to build w/ gtk+ >= 2.13.0
goocanvas fails to build w/ gtk+ >= 2.13.0
Status: RESOLVED FIXED
Product: goocanvas
Classification: Other
Component: general
0.10
Other All
: Normal normal
: ---
Assigned To: goocanvas-maint
goocanvas-maint
Depends on:
Blocks:
 
 
Reported: 2008-08-17 02:38 UTC by Martin Meyer
Modified: 2008-08-17 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Meyer 2008-08-17 02:38:24 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:
Comment 1 Gian Mario Tagliaretti 2008-08-17 07:36:49 UTC
(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()

Comment 2 Damon Chaplin 2008-08-17 11:18:19 UTC
I've removed the XXX_DISABLE_DEPRECATED flags from the build as well, as we
shouldn't break compilation when GTK+ deprecates stuff.