projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf0f64
)
Eo callbacks: simplify callback call code a bit.
author
Tom Hacohen
<tom@stosb.com>
Thu, 15 Oct 2015 08:21:39 +0000
(09:21 +0100)
committer
Tom Hacohen
<tom@stosb.com>
Mon, 9 Nov 2015 11:43:04 +0000
(11:43 +0000)
We don't need this check because it's already checked in the match function.
src/lib/eo/eo_base_class.c
patch
|
blob
|
history
diff --git
a/src/lib/eo/eo_base_class.c
b/src/lib/eo/eo_base_class.c
index
99c348d
..
0801a9b
100644
(file)
--- 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;