GNOME Bugzilla – Bug 562893
Deprecated GTK+ symbols in gtkmm headers
Last modified: 2008-12-06 19:20:31 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:
A patch against svn would be welcome.
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)