jaehwan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8c891ed0493c02f018a12c49c5c5f821291d7b39

commit 8c891ed0493c02f018a12c49c5c5f821291d7b39
Author: Sung-Taek Hong <sth253.h...@samsung.com>
Date:   Thu Dec 17 16:03:26 2015 +0900

    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
---
 src/lib/evas/canvas/evas_callbacks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_callbacks.c 
b/src/lib/evas/canvas/evas_callbacks.c
index 224b1e3..c86eb61 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))
           {

-- 


Reply via email to