summaryrefslogtreecommitdiff
path: root/src
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 /src
parent4a90c1430a777ef96f0cbd71bd7578860feb39a6 (diff)
Eo callback call: Remove redundant refcounting.
We already get refcounting from eo_do, no need to have more refcounting here.
Diffstat (limited to 'src')
-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 98809dd..5391e65 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,
673 673
674 ret = EINA_TRUE; 674 ret = EINA_TRUE;
675 675
676 _eo_ref(obj);
677 pd->walking_list++; 676 pd->walking_list++;
678 677
679 for (cb = pd->callbacks; cb; cb = cb->next) 678 for (cb = pd->callbacks; cb; cb = cb->next)
@@ -723,7 +722,6 @@ _eo_base_event_callback_call(Eo *obj_id, Eo_Base_Data *pd,
723end: 722end:
724 pd->walking_list--; 723 pd->walking_list--;
725 _eo_callbacks_clear(pd); 724 _eo_callbacks_clear(pd);
726 _eo_unref(obj);
727 725
728 return ret; 726 return ret;
729} 727}