simotek pushed a commit to branch elementary-1.17.

http://git.enlightenment.org/core/elementary.git/commit/?id=44266e7aa9c6e261864c4872a2850e1ad636d5b0

commit 44266e7aa9c6e261864c4872a2850e1ad636d5b0
Author: Simon Lees <sfl...@suse.de>
Date:   Thu Jul 7 10:13:03 2016 +0930

    clear callbacks before destroying object to avoid crash.
    
    T3188
    
    This is a backport of Cedric's fix for
    323000c83b339f0ead866615dcca442de9a1da77 in the efl repo
---
 src/lib/elm_gengrid.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 729f9cd..f94bfd2 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -4064,6 +4064,7 @@ _internal_elm_gengrid_clear(Evas_Object *obj,
 
              if (next) itn = ELM_GEN_ITEM_FROM_INLIST(next);
              if (itn) itn->walking++;  /* prevent early death of subitem */
+             _item_mouse_callbacks_del(it, VIEW(it));
              it->del_cb(it);
              eo_del(EO_OBJ(it));
              if (itn) itn->walking--;

-- 


Reply via email to