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 562893 - Deprecated GTK+ symbols in gtkmm headers
Deprecated GTK+ symbols in gtkmm headers
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.14.x
Other All
: Normal minor
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-12-01 18:03 UTC by Dénes Faluvégi
Modified: 2008-12-06 19:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Dénes Faluvégi 2008-12-01 18:03:49 UTC
Please describe the problem:
Some gtkmm headers (container.h, treesortable.h) use deprecated GTK+ symbols (GtkType, GtkDestroyNotify). This yields a compilation problem for programs which use GTK+/gtkmm and define GTK_DISABLE_DEPRECATED.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Murray Cumming 2008-12-01 21:22:30 UTC
A patch against svn would be welcome.
Comment 2 Murray Cumming 2008-12-06 19:20:31 UTC
Please reopen if this commit did not fix it:

2008-12-06  Murray Cumming  <murrayc@murrayc.com>

	* gtk/src/container.hg:
	* gtk/src/gtk_vfuncs.defs: Use GType instead of GtkType for the 
	child_type_vfunc() return type, because that seems to have changed in 
	GTK+ and GtkType is deprecated.	Likewise, use GDestroyNotify in other 
	vfuncs instead of GtkDestroyNotify.
	This should allow soure code to use gtkmm if it declares 
	GTK_DISABLE_DEPRECATED.
	Bug #562893 (Dénes Faluvégi)