From f9d18289df50efa1488747c06720c80610e0b4bc Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 2 Feb 2009 20:41:30 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ girepository/ginfo.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3565473..4744556 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-02-02 Dan Winship + + * 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 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, -- 2.39.2