summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-Taek Hong <sth253.hong@samsung.com>2015-12-17 16:03:26 +0900
committerJaehwan Kim <jae.hwan.kim@samsung.com>2015-12-17 16:03:26 +0900
commit8c891ed0493c02f018a12c49c5c5f821291d7b39 (patch)
treed61338f69f1d51f8df94575331f95d068aba9ac4
parent680eec5c5c58740e5e104df93b5dc2290ad31554 (diff)
downloadefl-8c891ed0493c02f018a12c49c5c5f821291d7b39.tar.gz
evas_callback: Remove callbacks in reverse order with evas_event_callback_del
Summary: - This function is deprecated, because del_full should be used instead. - Still, the documentation specifies in which order the callbacks should - be deleted. Reviewers: Hermet, jpeg, jaehwan Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3459
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 224b1e3a50..c86eb614a1 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -424,7 +424,7 @@ evas_event_callback_del(Evas *eo_e, Evas_Callback_Type type, Evas_Event_Cb func)
if (!e->callbacks) return NULL;
- EINA_INLIST_FOREACH(e->callbacks, info)
+ EINA_INLIST_REVERSE_FOREACH(e->callbacks, info)
{
if ((info->func == func) && (info->type == type))
{