[glibmm/gmmproc-refactor] Fix _WRAP_ENUM in date.hg.



commit a79756ed15a777bf60900dc0e5e6e0710a3b2a63
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Mon Jul 9 22:24:02 2012 +0200

    Fix _WRAP_ENUM in date.hg.

 glib/src/date.hg |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/src/date.hg b/glib/src/date.hg
index cb6ff90..a242b03 100644
--- a/glib/src/date.hg
+++ b/glib/src/date.hg
@@ -45,9 +45,9 @@ public:
   typedef guint8  Day;
   typedef guint16 Year;
 
-  _WRAP_ENUM(Month, GDateMonth, s#^DATE_##, NO_GTYPE, get_type_func=)
-  _WRAP_ENUM(Weekday, GDateWeekday, s#^DATE_##, NO_GTYPE)
-  _WRAP_ENUM(DMY, GDateDMY, s#^DATE_##, NO_GTYPE)
+  _WRAP_ENUM(Month, GDateMonth, sed s#^DATE_##)
+  _WRAP_ENUM(Weekday, GDateWeekday, sed s#^DATE_##)
+  _WRAP_ENUM(DMY, GDateDMY, sed s#^DATE_##)
 
   static const Day     BAD_DAY    = 0;
   static const Year    BAD_YEAR   = 0;



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