summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-15 09:21:39 +0100
committerTom Hacohen <tom@stosb.com>2015-10-19 10:22:41 +0100
commitbe358369c16f111cbee18c0ce17d162953da2115 (patch)
treed7cfa809068458e7ab2a21bf6125b3e03654b311 /src
parent31a748e191ff239bca32914de36f7a1aeda9d56e (diff)
Eo callbacks: simplify callback call code a bit.
We don't need this check because it's already checked in the match function.
Diffstat (limited to 'src')
-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 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,
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