handle the special case for GObject, whose glib:get-type is listed as

* girepository/ginfo.c (g_registered_type_info_get_g_type): handle
	the special case for GObject, whose glib:get-type is listed as
	"intern".

svn path=/trunk/; revision=1080
This commit is contained in:
Dan Winship 2009-02-02 20:41:30 +00:00
parent 306ca05c5e
commit 0ed02eb80b

View File

@ -1061,6 +1061,8 @@ g_registered_type_info_get_g_type (GIRegisteredTypeInfo *info)
if (type_init == NULL)
return G_TYPE_NONE;
else if (!strcmp (type_init, "intern"))
return G_TYPE_OBJECT;
get_type_func = NULL;
if (!g_typelib_symbol (((GIBaseInfo*)info)->typelib,