seed r36 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r36 - trunk/libseed
- Date: Sun, 26 Oct 2008 04:37:43 +0000 (UTC)
Author: racarr
Date: Sun Oct 26 04:37:42 2008
New Revision: 36
URL: http://svn.gnome.org/viewvc/seed?rev=36&view=rev
Log:
GObjects can be null!
Modified:
trunk/libseed/seed-types.c
Modified: trunk/libseed/seed-types.c
==============================================================================
--- trunk/libseed/seed-types.c (original)
+++ trunk/libseed/seed-types.c Sun Oct 26 04:37:42 2008
@@ -28,8 +28,8 @@
static gboolean seed_value_is_gobject(SeedValue value)
{
- if (!JSValueIsObject(eng->context, value) ||
- JSValueIsNull(eng->context, value))
+ if (!JSValueIsObject(eng->context, value))
+
return FALSE;
return JSValueIsObjectOfClass(eng->context, value, gobject_class);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]