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
This commit is contained in:
Sung-Taek Hong 2015-12-17 16:03:26 +09:00 committed by Jaehwan Kim
parent 680eec5c5c
commit 8c891ed049
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{