bu5hm4n pushed a commit to branch master.

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

commit 70b24abff754bd39032dcdf94f0fd7ff1ab2402b
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Wed Nov 23 13:39:04 2016 +0100

    eo: inc the special count
    
    if there is a event the callback counter should be incremented not
    decremented. This should fix a few crashes i found in edje, since edje
    did not knew that a element was deletion.
---
 src/lib/eo/eo_base_class.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index ea22bb3..352cb8b 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -1225,7 +1225,7 @@ _efl_object_event_callback_array_priority_add(Eo *obj, 
Efl_Object_Data *pd,
    _eo_callbacks_sorted_insert(pd, cb);
 #ifdef EFL_EVENT_SPECIAL_SKIP
    for (it = cb->items.item_array; it->func; it++)
-     _special_event_count_dec(pd, it);
+     _special_event_count_inc(pd, it);
 #endif
 
    efl_event_callback_call(obj, EFL_EVENT_CALLBACK_ADD, (void *)array);

-- 


Reply via email to