aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-10-15 12:18:34 +0100
committerTom Hacohen <tom@stosb.com>2015-10-19 10:22:41 +0100
commit49150f1776665107cd28b899c40f1e9029c129be (patch)
treedff89d74d24c93be016fa889de9b7d363bd787b6
parentEo callback call: Simplify callback desc matching code. (diff)
downloadefl-49150f1776665107cd28b899c40f1e9029c129be.tar.gz
Eo callback call: Remove redundant refcounting.
We already get refcounting from eo_do, no need to have more refcounting here.
-rw-r--r--src/lib/eo/eo_base_class.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 98809dd9d0..5391e65f3c 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -673,7 +673,6 @@ _eo_base_event_callback_call(Eo *obj_id, Eo_Base_Data *pd,
ret = EINA_TRUE;
- _eo_ref(obj);
pd->walking_list++;
for (cb = pd->callbacks; cb; cb = cb->next)
@@ -723,7 +722,6 @@ _eo_base_event_callback_call(Eo *obj_id, Eo_Base_Data *pd,
end:
pd->walking_list--;
_eo_callbacks_clear(pd);
- _eo_unref(obj);
return ret;
}