tasn pushed a commit to branch master.

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

commit 9d68b143130ba825cfd2732ff4fdb2be51ab5a32
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Oct 15 09:21:39 2015 +0100

    Eo callbacks: simplify callback call code a bit.
    
    We don't need this check because it's already checked in the match function.
---
 src/lib/eo/eo_base_class.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 99c348d..0801a9b 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -709,8 +709,7 @@ _eo_base_event_callback_call(Eo *obj_id, Eo_Base_Data *pd,
                {
                   if (!_cb_desc_match(cb->items.item.desc, desc))
                     continue;
-                  if ((!cb->items.item.desc
-                       || !cb->items.item.desc->unfreezable) &&
+                  if (!cb->items.item.desc->unfreezable &&
                       (event_freeze_count || pd->event_freeze_count))
                     continue;
 

-- 


Reply via email to