[glibmm] Move #undef G_DISABLE_DEPRECATED out of header



commit e2519d9c4dfcc121ece8deea466e2f108ec38e89
Author: Daniel Elstner <danielk openismus com>
Date:   Fri Aug 21 14:15:47 2009 +0200

    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.

 ChangeLog        |    7 +++++++
 glib/src/date.hg |    5 +++--
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 83fb2eb..4a10419 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 5f0182c..d0bf56b 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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]