summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortasn <tasn>2012-06-20 15:56:17 +0000
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2012-06-20 15:56:17 +0000
commitb68f7e2b7a80a5da3c66bb33142561b7cd56a736 (patch)
tree69158941aa1c43bff6138b8bea1a9aef4e5239f2 /src/lib
parentafbb6dfa2bc2d86f433659cb31a93af9c9e70b48 (diff)
downloadeobj-b68f7e2b7a80a5da3c66bb33142561b7cd56a736.tar.gz
eobj-b68f7e2b7a80a5da3c66bb33142561b7cd56a736.tar.bz2
eobj-b68f7e2b7a80a5da3c66bb33142561b7cd56a736.zip
Eo: Fix return value of eo_do_super to depend on error_set.
And added tests to check it. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@72550 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/eo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eo.c b/src/lib/eo.c
index c8f9d3b..b1f237c 100644
--- a/src/lib/eo.c
+++ b/src/lib/eo.c
@@ -474,6 +474,9 @@ eo_do_super_internal(Eo *obj, Eo_Op_Type op_type, Eo_Op op, ...)
}
va_end(p_list);
+ if (obj->do_error)
+ ret = EINA_FALSE;
+
return ret;
}