gobject-introspection r533 - trunk/girepository



Author: walters
Date: Fri Aug 29 20:42:51 2008
New Revision: 533
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=533&view=rev

Log:
Don't crash if no shlib is embedded

	* girepository/gtypelib.c: Don't crash if no
	shlib is embedded


Modified:
   trunk/girepository/gtypelib.c

Modified: trunk/girepository/gtypelib.c
==============================================================================
--- trunk/girepository/gtypelib.c	(original)
+++ trunk/girepository/gtypelib.c	Fri Aug 29 20:42:51 2008
@@ -1962,7 +1962,7 @@
             }
         }
      
-      if (typelib->module == NULL)
+      if (typelib->module == NULL && shlib != NULL)
         {
 	  GString *shlib_full;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]