summaryrefslogtreecommitdiff
path: root/gio/src/action.hg
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>2015-12-05 11:51:36 +0100
committerKjell Ahlstedt <kjell.ahlstedt@bredband.net>2015-12-05 11:51:36 +0100
commitc3101a0bc7c5d0d2cca7c2c7e6f7e6d4882f5cd1 (patch)
treeec43315a802da7bdcfb0aa443aac5d944d2620cd /gio/src/action.hg
parent1b5cab8581c9c412ea2cf3f5f7b5de0add9d870d (diff)
downloadglibmm-c3101a0bc7c5d0d2cca7c2c7e6f7e6d4882f5cd1.tar.gz
Fix the build with --disable-deprecated-api
* examples/thread/threadpool.cc: If --disable-deprecated-api, just print a message and exit. * gio/src/<several>.hg: Add _CONFIGINCLUDE(giommconfig.h). * gio/src/menuitem.ccg: Add a missing _DEPRECATE_IFDEF_START/_END pair. * glib/glibmm/sarray.h: * glib/glibmm/threadpool.[cc|h]: #include <glibmmconfig.h> before ifndef GLIBMM_DISABLE_DEPRECATED. * glib/src/filelist.am: Remove glibmm_files_deprecated_hg. List deprecated files in glibmm_files_any_hg. The config file must be included before #ifndef xxx_DISABLE_DEPRECATED both in the .h file and in the .cc file, or else deprecated API is not properly disabled by --disable-deprecated-api.
Diffstat (limited to 'gio/src/action.hg')
-rw-r--r--gio/src/action.hg2
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/src/action.hg b/gio/src/action.hg
index 1b10876e..8788da31 100644
--- a/gio/src/action.hg
+++ b/gio/src/action.hg
@@ -15,6 +15,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+_CONFIGINCLUDE(giommconfig.h)
+
#include <glibmm/interface.h>
#include <glibmm/varianttype.h>
#include <gio/gio.h>