summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Elstner <danielk@openismus.com>2009-08-21 14:15:47 +0200
committerDaniel Elstner <danielk@openismus.com>2009-08-21 14:15:47 +0200
commite2519d9c4dfcc121ece8deea466e2f108ec38e89 (patch)
tree332b0a87e91c5238b68d090065d8b73b6e1f92f9
parentd32830662a29bba7575359365f70ea50949e96fb (diff)
downloadglibmm-e2519d9c4dfcc121ece8deea466e2f108ec38e89.tar.gz
Move #undef G_DISABLE_DEPRECATED out of header
* glib/src/date.hg: Push the #undef G_DISABLE_DEPRECATED into the new SECTION_CC_PRE_INCLUDES rather than the public header file.
-rw-r--r--ChangeLog7
-rw-r--r--glib/src/date.hg5
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 83fb2eb7..4a104197 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2009-08-21 Daniel Elstner <danielk@openismus.com>
+ Move #undef G_DISABLE_DEPRECATED out of header
+
+ * glib/src/date.hg: Push the #undef G_DISABLE_DEPRECATED into the
+ new SECTION_CC_PRE_INCLUDES rather than the public header file.
+
+2009-08-21 Daniel Elstner <danielk@openismus.com>
+
Add SECTION_CC_PRE_INCLUDES section to gmmproc
* tools/m4/base.m4: Define new SECTION_CC_PRE_INCLUDES and import
diff --git a/glib/src/date.hg b/glib/src/date.hg
index 5f0182cc..d0bf56b9 100644
--- a/glib/src/date.hg
+++ b/glib/src/date.hg
@@ -19,8 +19,9 @@
_DEFS(glibmm,glib)
-#m4 _PUSH(SECTION_HEADER1)
-#m4 #undef G_DISABLE_DEPRECATED //So we can use deprecated functions in our deprecated methods.
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+/* So we can use deprecated functions in our deprecated methods */
+#undef G_DISABLE_DEPRECATED
#m4 _POP()
#include <glibmmconfig.h>