diff options
author | Dan Winship <danw@src.gnome.org> | 2009-02-02 20:41:30 (GMT) |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2009-02-02 20:41:30 (GMT) |
commit | f9d18289df50efa1488747c06720c80610e0b4bc (patch) | |
tree | 4c06e657546287feace40d8f39762e97c9ed05ec | |
parent | e165360bf91fbd34507e84cffc9283b8b171401b (diff) |
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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | girepository/ginfo.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2009-02-02 Dan Winship <danw@gnome.org> + + * girepository/ginfo.c (g_registered_type_info_get_g_type): handle + the special case for GObject, whose glib:get-type is listed as + "intern". + 2009-02-02 Andreas Rottmann <a.rottmann@gmx.at> Bug 569408 – Scanner doesn't handle arbitrary typedefs correctly diff --git a/girepository/ginfo.c b/girepository/ginfo.c index 97aa534..289717d 100644 --- a/girepository/ginfo.c +++ b/girepository/ginfo.c @@ -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, |