diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-06-02 21:42:48 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-06-02 21:42:48 +0000 |
commit | 934bc42c942075245b436367f83d16cb61cde2de (patch) | |
tree | 4b3fc3d232647f42704589b1971be84c77d4358c /gobject | |
parent | a74af928cf9724cb384bc36d0109db34f447d226 (diff) |
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)
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/genums.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gobject/genums.h b/gobject/genums.h index 3af3f3abe..5d16c53c0 100644 --- a/gobject/genums.h +++ b/gobject/genums.h @@ -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; }; |