summaryrefslogtreecommitdiff
path: root/json-glib/json-gobject.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2009-04-17 15:22:04 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2009-04-17 15:22:04 +0100
commitf2f43d17254317d35ea0cc8206592ecbcb856b68 (patch)
treec3ad9eadb8dc8b840effee22f8637f11ef038828 /json-glib/json-gobject.c
parentbfcc50d5b199e72ed3e5a7556ac2294442e3ac55 (diff)
downloadjson-glib-f2f43d17254317d35ea0cc8206592ecbcb856b68.tar.gz
Intern the remaining type names
JsonArray and JsonSerializable type names should be interned like the rest of the types.
Diffstat (limited to 'json-glib/json-gobject.c')
-rw-r--r--json-glib/json-gobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/json-glib/json-gobject.c b/json-glib/json-gobject.c
index 6eea9a5..0c9351a 100644
--- a/json-glib/json-gobject.c
+++ b/json-glib/json-gobject.c
@@ -515,7 +515,8 @@ json_serializable_get_type (void)
if (!iface_type)
iface_type =
- g_type_register_static_simple (G_TYPE_INTERFACE, "JsonSerializable",
+ g_type_register_static_simple (G_TYPE_INTERFACE,
+ g_intern_static_string ("JsonSerializable"),
sizeof (JsonSerializableIface),
json_serializable_base_init,
0, NULL, 0);