seed r729 - in trunk: libseed m4



Author: racarr
Date: Wed Jan 14 20:12:36 2009
New Revision: 729
URL: http://svn.gnome.org/viewvc/seed?rev=729&view=rev

Log:
Don't try and convert null GI_TYPE_TAG_ARRAY out arguments.

Modified:
   trunk/libseed/seed-types.c
   trunk/m4/gtk-doc.m4   (contents, props changed)

Modified: trunk/libseed/seed-types.c
==============================================================================
--- trunk/libseed/seed-types.c	(original)
+++ trunk/libseed/seed-types.c	Wed Jan 14 20:12:36 2009
@@ -632,6 +632,9 @@
 		{
 			GITypeInfo *param_type;
 			JSValueRef ret;
+
+			if (arg->v_pointer == NULL)
+				return JSValueMakeNull(ctx);
 			if (!g_type_info_is_zero_terminated(type_info))
 				break;
 

Modified: trunk/m4/gtk-doc.m4
==============================================================================
--- trunk/m4/gtk-doc.m4	(original)
+++ trunk/m4/gtk-doc.m4	Wed Jan 14 20:12:36 2009
@@ -1 +1 @@
-link /usr/share/aclocal/gtk-doc.m4
\ No newline at end of file
+link /usr/local/share/aclocal/gtk-doc.m4
\ No newline at end of file



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