gobject-introspection r1080 - in trunk: . girepository
- From: danw svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r1080 - in trunk: . girepository
- Date: Mon, 2 Feb 2009 20:41:31 +0000 (UTC)
Author: danw
Date: Mon Feb 2 20:41:30 2009
New Revision: 1080
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=1080&view=rev
Log:
* girepository/ginfo.c (g_registered_type_info_get_g_type): handle
the special case for GObject, whose glib:get-type is listed as
"intern".
Modified:
trunk/ChangeLog
trunk/girepository/ginfo.c
Modified: trunk/girepository/ginfo.c
==============================================================================
--- trunk/girepository/ginfo.c (original)
+++ trunk/girepository/ginfo.c Mon Feb 2 20:41:30 2009
@@ -1061,6 +1061,8 @@
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]