GNOME Bugzilla – Bug 486104
Make GTKMM_DISABLE_DEPRECATED available to non-library code
Last modified: 2007-10-12 20:08:51 UTC
API users cannot determine (at compile time) whether deprecated API is enabled in gtkmm or not. GTKMM_DISABLE_DEPRECATED should be exposed in gtkmmconfig.h.
Created attachment 97133 [details] [review] Proposed patch This patch adds GDKMM_DISABLE_DEPRECATED and GTKMM_DISABLE_DEPRECATED to gdkmmconfig.h or gtkmmconfig.h, respectively. It also makes sure these files are included in headers that need the defines. For this to work the patch from bug #486102 is required, though. Finally, it fixes a build problem in gdkmm/pixbuf.cc when deprecated API is disabled.
Where is this defined now? Just in the Makefile with -D? If so, please commit. This really should be in the config header.
> Where is this defined now? Just in the Makefile with -D? Yes. I committed the patch with an additional comment along with every use of _CONFIGFILE.