Make value_name and value_nick const in structs _GEnumValue and

2006-06-02  Behdad Esfahbod  <behdad@gnome.org>

        * gobject/genum.h: Make value_name and value_nick const in structs
        _GEnumValue and _GFlagValue.  (#317793)
This commit is contained in:
Behdad Esfahbod 2006-06-02 21:42:48 +00:00 committed by Behdad Esfahbod
parent a74af928cf
commit 934bc42c94
3 changed files with 14 additions and 4 deletions

View 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:

View 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:

View 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;
};