q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f951ba50761eecaffe06b0927e759167f28b023f

commit f951ba50761eecaffe06b0927e759167f28b023f
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Wed Aug 28 10:20:48 2019 +0200

    eolian_aux: this must be recursive
    
    Summary:
    in order to get all callables, this must be recursive, otherwise deeper
    callables are forgotten.
    
    Reviewers: q66
    
    Reviewed By: q66
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D9421
---
 src/lib/eolian/eolian_aux.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/lib/eolian/eolian_aux.c b/src/lib/eolian/eolian_aux.c
index a66c02c58e..66cde8ac73 100644
--- a/src/lib/eolian/eolian_aux.c
+++ b/src/lib/eolian/eolian_aux.c
@@ -89,11 +89,17 @@ _callables_find(const Eolian_Class *cl, Eina_List **funcs,
 
    const Eolian_Class *pcl = eolian_class_parent_get(cl);
    if (pcl)
-     total += _callables_find_body(pcl, funcs, events, written);
+     {
+        total += _callables_find_body(pcl, funcs, events, written);
+        total += _callables_find(pcl, funcs, events, written);
+     }
 
    Eina_Iterator *itr = eolian_class_extensions_get(cl);
    EINA_ITERATOR_FOREACH(itr, pcl)
-     total += _callables_find_body(pcl, funcs, events, written);
+     {
+        total += _callables_find_body(pcl, funcs, events, written);
+        total += _callables_find(pcl, funcs, events, written);
+     }
 
    return total;
 }

-- 


Reply via email to