diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-11-12 10:09:17 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-11-12 10:09:17 +0000 |
commit | ecc185d1c542f6ff41f84be026dc380f611a5d6e (patch) | |
tree | 9ba30b75df8706518195d6a4536e58f57143d609 | |
parent | 84f5af58c23b174cc9708e81ce8ccbfffa6e68eb (diff) | |
download | json-glib-ecc185d1c542f6ff41f84be026dc380f611a5d6e.tar.gz |
enum-types: Put back a missing static
The GEnumValue array defining the enumeration type values must be
static, otherwise everything will crash when trying to retrieve the
enumeration data from the GEnumClass.
-rw-r--r-- | json-glib/json-enum-types.c.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-enum-types.c.in b/json-glib/json-enum-types.c.in index eba4222..8b82049 100644 --- a/json-glib/json-enum-types.c.in +++ b/json-glib/json-enum-types.c.in @@ -16,7 +16,7 @@ GType if (g_once_init_enter (&g_enum_type_id__volatile)) { - const G@Type@Value values[] = { + static const G@Type@Value values[] = { /*** END value-header ***/ /*** BEGIN value-production ***/ |