seed r43 - trunk/libseed



Author: racarr
Date: Sat Nov  1 07:13:29 2008
New Revision: 43
URL: http://svn.gnome.org/viewvc/seed?rev=43&view=rev

Log:
Need JSValueNull for return values also.


Modified:
   trunk/libseed/seed-engine.c

Modified: trunk/libseed/seed-engine.c
==============================================================================
--- trunk/libseed/seed-engine.c	(original)
+++ trunk/libseed/seed-engine.c	Sat Nov  1 07:13:29 2008
@@ -252,7 +252,7 @@
 						g_callable_info_get_return_type((GICallableInfo *)
 														info);
 				if (g_type_info_get_tag(type_info) == GI_TYPE_TAG_VOID)
-						retval_ref = 0;
+						retval_ref = JSValueMakeNull(eng->context);
 				else
 						retval_ref = 
 								seed_gi_argument_make_js(&retval, type_info);



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