aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-04-20 16:31:36 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-04-20 16:41:12 +0900
commit1dddbbd8f76a966328a205b170a386444404724b (patch)
tree8cda534b2de8eced7e0c47bc6b5d873eb05eff02 /src/lib/evas/canvas/evas_callbacks.c
parentEvas tests: Add debug logs telling people to ignore ERR (diff)
downloadefl-1dddbbd8f76a966328a205b170a386444404724b.tar.gz
Evas: Remove callbacks in reverse order with callback_del
This function is deprecated, because del_full should be used instead. Still, the documentation specifies in which order the callbacks should be deleted. Fixes https://phab.enlightenment.org/T2077 (not really fixes according to the comment but fixes according to the doc).
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-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 52bd014895..e7526ba0a1 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -328,7 +328,7 @@ evas_object_event_callback_del(Evas_Object *eo_obj, Evas_Callback_Type type, Eva
if (!obj->callbacks) return NULL;
- EINA_INLIST_FOREACH(obj->callbacks, info)
+ EINA_INLIST_REVERSE_FOREACH(obj->callbacks, info)
{
if ((info->func == func) && (info->type == type))
{