diff options
author | Iain Nicol <iain@thenicols.net> | 2009-10-27 04:02:42 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-10-27 16:40:09 +0800 |
commit | f7c38e37d7b993ffbddd923c7977e756f2eb7b5f (patch) | |
tree | 3248fc8ace4b1530c0233ce1736854594d437d80 /src | |
parent | 07896035ca23d98a3bbd366d9297f6fa4ddf7290 (diff) | |
download | gsoc2013-epiphany-f7c38e37d7b993ffbddd923c7977e756f2eb7b5f.tar gsoc2013-epiphany-f7c38e37d7b993ffbddd923c7977e756f2eb7b5f.tar.gz gsoc2013-epiphany-f7c38e37d7b993ffbddd923c7977e756f2eb7b5f.tar.bz2 gsoc2013-epiphany-f7c38e37d7b993ffbddd923c7977e756f2eb7b5f.tar.lz gsoc2013-epiphany-f7c38e37d7b993ffbddd923c7977e756f2eb7b5f.tar.xz gsoc2013-epiphany-f7c38e37d7b993ffbddd923c7977e756f2eb7b5f.tar.zst gsoc2013-epiphany-f7c38e37d7b993ffbddd923c7977e756f2eb7b5f.zip |
ephy-seed-extension: don't assume the script returned an object
Bug #599714
Signed-off-by: Xan Lopez <xan@gnome.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-seed-extension.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-seed-extension.c b/src/ephy-seed-extension.c index 95658fd2d..4f7479f9e 100644 --- a/src/ephy-seed-extension.c +++ b/src/ephy-seed-extension.c @@ -72,7 +72,7 @@ call_seed_func (EphyExtension *extension, seed_ext = EPHY_SEED_EXTENSION (extension); priv = seed_ext->priv; - if (priv->obj == NULL || seed_value_is_null (priv->ctx, priv->obj)) + if (priv->obj == NULL || !seed_value_is_object (priv->ctx, priv->obj)) return; function = seed_object_get_property (priv->ctx, priv->obj, func_name); |