gobject-introspection r1080 - in trunk: . girepository



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]