summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-15 09:21:39 +0100
committerTom Hacohen <tom@stosb.com>2015-11-09 11:43:04 +0000
commit9d68b143130ba825cfd2732ff4fdb2be51ab5a32 (patch)
tree39159d4bdf73c8cc2cef4f3d7a32cef215f8f4d9
parent4bf0f6455d3b7df37c922fb011a0fa9c6cc12fe2 (diff)
Eo callbacks: simplify callback call code a bit.
We don't need this check because it's already checked in the match function.
-rw-r--r--src/lib/eo/eo_base_class.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 99c348d0f5..0801a9b1be 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,
709 { 709 {
710 if (!_cb_desc_match(cb->items.item.desc, desc)) 710 if (!_cb_desc_match(cb->items.item.desc, desc))
711 continue; 711 continue;
712 if ((!cb->items.item.desc 712 if (!cb->items.item.desc->unfreezable &&
713 || !cb->items.item.desc->unfreezable) &&
714 (event_freeze_count || pd->event_freeze_count)) 713 (event_freeze_count || pd->event_freeze_count))
715 continue; 714 continue;
716 715