summaryrefslogtreecommitdiff
path: root/src/lib/eo/eo.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-08 08:19:23 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-08 08:19:23 -0500
commit8118330d2a34a26078d3642ebbebf188146a5415 (patch)
tree6ed9873707d6faf2adb4a00a0aa4887909b44126 /src/lib/eo/eo.c
parent1a17aff85ffca1cae6d71aa6273e6a8214154276 (diff)
eo: fix reflection
Summary: the DFS tree walk was accidently stopped by a too early return statement. We should only return if we found a reflection entry, if not, then we should continue our search Depends on D7996 Reviewers: cedric, zmike, q66, segfaultxavi Reviewed By: cedric, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7997
Diffstat (limited to 'src/lib/eo/eo.c')
-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 76bebef..a5da8c0 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)
3630 3630
3631 for (; *klass_iter; klass_iter++) 3631 for (; *klass_iter; klass_iter++)
3632 { 3632 {
3633 return _efl_class_reflection_find(*klass_iter, property_name); 3633 const Efl_Object_Property_Reflection *ref;
3634
3635 ref = _efl_class_reflection_find(*klass_iter, property_name);
3636 if (ref) return ref;
3634 } 3637 }
3635 3638
3636 return NULL; 3639 return NULL;