seed r228 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r228 - trunk/libseed
- Date: Mon, 10 Nov 2008 13:07:53 +0000 (UTC)
Author: racarr
Date: Mon Nov 10 13:07:53 2008
New Revision: 228
URL: http://svn.gnome.org/viewvc/seed?rev=228&view=rev
Log:
Make closure marshalling a bit more forgiving of signal handlers which don't return anything.
Modified:
trunk/libseed/seed-signals.c
Modified: trunk/libseed/seed-signals.c
==============================================================================
--- trunk/libseed/seed-signals.c (original)
+++ trunk/libseed/seed-signals.c Mon Nov 10 13:07:53 2008
@@ -136,7 +136,7 @@
seed_closure->this,
n_param_values + 1, args, &exception);
- if (ret)
+ if (ret && !JSValueIsNull(eng->context, ret))
{
seed_gvalue_from_seed_value(ret, seed_closure->return_type,
return_value, &exception);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]