summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>2015-06-17 18:30:53 +0200
committerKjell Ahlstedt <kjell.ahlstedt@bredband.net>2015-06-17 18:30:53 +0200
commit833025c1eb451150d16c34e79ac2aca6301d84b3 (patch)
tree7cbdc8d74a101cae69e162f14a00cd7cccb34526 /glib
parentc570362cfc1f46e85b66093567a3f925741cb1c2 (diff)
downloadglibmm-833025c1eb451150d16c34e79ac2aca6301d84b3.tar.gz
Don't disable more deprecation warnings than necessary
* gio/src/application.hg: * gio/src/desktopappinfo.hg: * gio/src/file.hg: * gio/src/notification.hg: * gio/src/settings.[ccg|hg]: * gio/src/simpleactiongroup.hg: * gio/src/tlsconnection.hg: * gio/src/volumemonitor.hg: * glib/src/date.hg: Don't #undef G_DISABLE_DEPRECATED or #define GLIB_DISABLE_DEPRECATION_WARNINGS. This is unnecessary when deprecated code is surrounded by G_GNUC_[BEGIN|END]_IGNORE_DEPRECATIONS. Bug #750379.
Diffstat (limited to 'glib')
-rw-r--r--glib/src/date.hg6
1 files changed, 0 insertions, 6 deletions
diff --git a/glib/src/date.hg b/glib/src/date.hg
index 472dc609..5a307e61 100644
--- a/glib/src/date.hg
+++ b/glib/src/date.hg
@@ -17,12 +17,6 @@
_DEFS(glibmm,glib)
-#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
-/* So we can use deprecated functions in our deprecated methods */
-#undef G_DISABLE_DEPRECATED
-#define GLIB_DISABLE_DEPRECATION_WARNINGS 1
-#m4 _POP()
-
#include <glibmmconfig.h>
#include <glibmm/ustring.h>
#include <glib.h>