From f2f43d17254317d35ea0cc8206592ecbcb856b68 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 17 Apr 2009 15:22:04 +0100 Subject: Intern the remaining type names JsonArray and JsonSerializable type names should be interned like the rest of the types. --- json-glib/json-array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'json-glib/json-array.c') diff --git a/json-glib/json-array.c b/json-glib/json-array.c index 0b5d32a..13ac3b8 100644 --- a/json-glib/json-array.c +++ b/json-glib/json-array.c @@ -53,7 +53,7 @@ json_array_get_type (void) static GType array_type = 0; if (G_UNLIKELY (!array_type)) - array_type = g_boxed_type_register_static ("JsonArray", + array_type = g_boxed_type_register_static (g_intern_static_string ("JsonArray"), (GBoxedCopyFunc) json_array_ref, (GBoxedFreeFunc) json_array_unref); -- cgit v1.2.1