merge GVariant

This commit is contained in:
Ryan Lortie
2010-02-10 11:13:06 -05:00
parent 2afe2325c4
commit 1e655eb02c
14 changed files with 1039 additions and 3 deletions

View File

@@ -269,6 +269,33 @@ g_byte_array_get_type (void)
type_id = g_boxed_type_register_static (g_intern_static_string ("GByteArray"),
(GBoxedCopyFunc) g_byte_array_ref,
(GBoxedFreeFunc) g_byte_array_unref);
return type_id;
}
GType
g_variant_type_get_gtype (void)
{
static GType type_id = 0;
if (!type_id)
type_id = g_boxed_type_register_static (g_intern_static_string ("GVariantType"),
(GBoxedCopyFunc) g_variant_type_copy,
(GBoxedFreeFunc) g_variant_type_free);
return type_id;
}
GType
g_variant_get_gtype (void)
{
static GType type_id = 0;
if (!type_id)
type_id = g_boxed_type_register_static (g_intern_static_string ("GVariant"),
(GBoxedCopyFunc) g_variant_ref,
(GBoxedFreeFunc) g_variant_unref);
return type_id;
}