Make value_name and value_nick const in structs _GEnumValue and
authorBehdad Esfahbod <behdad@gnome.org>
Fri, 2 Jun 2006 21:42:48 +0000 (21:42 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Fri, 2 Jun 2006 21:42:48 +0000 (21:42 +0000)
2006-06-02  Behdad Esfahbod  <behdad@gnome.org>

        * gobject/genum.h: Make value_name and value_nick const in structs
        _GEnumValue and _GFlagValue.  (#317793)

ChangeLog
ChangeLog.pre-2-12
gobject/genums.h

index 00d589f..29442ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-02  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gobject/genum.h: Make value_name and value_nick const in structs
+       _GEnumValue and _GFlagValue.  (#317793)
+
 2006-06-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gmain.h: 
index 00d589f..29442ba 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-02  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gobject/genum.h: Make value_name and value_nick const in structs
+       _GEnumValue and _GFlagValue.  (#317793)
+
 2006-06-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gmain.h: 
index 3af3f3a..5d16c53 100644 (file)
@@ -69,14 +69,14 @@ struct      _GFlagsClass
 struct _GEnumValue
 {
   gint  value;
-  gchar *value_name;
-  gchar *value_nick;
+  const gchar *value_name;
+  const gchar *value_nick;
 };
 struct _GFlagsValue
 {
   guint         value;
-  gchar *value_name;
-  gchar *value_nick;
+  const gchar *value_name;
+  const gchar *value_nick;
 };