forked from enlightenment/efl
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:
parent
680eec5c5c
commit
8c891ed049
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue