aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-22 08:49:53 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-22 08:49:53 +0100
commit66b8f2caa75f133e61fad43cd41a2b5d97674f1a (patch)
treebf4ee958d444e1f92d967f9af34815355fcf8f88
parentRevert "eo: fix to remove unreachable loop" (diff)
downloadefl-66b8f2caa75f133e61fad43cd41a2b5d97674f1a.tar.gz
eo: fix reflection
the DFS tree walk was accidently stopped by a too early return statement.
-rw-r--r--src/lib/eo/eo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 76bebef023..a5da8c0289 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -3630,7 +3630,10 @@ _efl_class_reflection_find(const _Efl_Class *klass, const char *property_name)
for (; *klass_iter; klass_iter++)
{
- return _efl_class_reflection_find(*klass_iter, property_name);
+ const Efl_Object_Property_Reflection *ref;
+
+ ref = _efl_class_reflection_find(*klass_iter, property_name);
+ if (ref) return ref;
}
return NULL;