mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-06 02:51:00 +01:00
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:
parent
306ca05c5e
commit
0ed02eb80b
2
ginfo.c
2
ginfo.c
@ -1061,6 +1061,8 @@ g_registered_type_info_get_g_type (GIRegisteredTypeInfo *info)
|
|||||||
|
|
||||||
if (type_init == NULL)
|
if (type_init == NULL)
|
||||||
return G_TYPE_NONE;
|
return G_TYPE_NONE;
|
||||||
|
else if (!strcmp (type_init, "intern"))
|
||||||
|
return G_TYPE_OBJECT;
|
||||||
|
|
||||||
get_type_func = NULL;
|
get_type_func = NULL;
|
||||||
if (!g_typelib_symbol (((GIBaseInfo*)info)->typelib,
|
if (!g_typelib_symbol (((GIBaseInfo*)info)->typelib,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user