summaryrefslogtreecommitdiff
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
parent6eff3fa3f5b0c09a597d72efea3713132b742a25 (diff)
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 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
328 328
329 if (!obj->callbacks) return NULL; 329 if (!obj->callbacks) return NULL;
330 330
331 EINA_INLIST_FOREACH(obj->callbacks, info) 331 EINA_INLIST_REVERSE_FOREACH(obj->callbacks, info)
332 { 332 {
333 if ((info->func == func) && (info->type == type)) 333 if ((info->func == func) && (info->type == type))
334 { 334 {