From b1c1982315f37ae23225821e9434f3e28a58e310 Mon Sep 17 00:00:00 2001 From: Tae-Hwan Kim Date: Fri, 7 Jun 2013 15:21:33 +0900 Subject: [PATCH] [Genlist] Fix crash issues If application remove genlist in the callback of SIG_ACTIVATED, then all smart data (wsd, psd) will be NULL. So after this, return this stack. Change-Id: Icff79c6426f75014ef2d994fd38b9e1b56c1a4b9 --- src/lib/elm_genlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index ae2cf26..0ac772c 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -2914,6 +2914,7 @@ _elm_genlist_smart_event(Evas_Object *obj, Elm_Gen_Item *it = sd->focused; _item_select_unselect(it, EINA_TRUE); evas_object_smart_callback_call(WIDGET(it), SIG_ACTIVATED, it); + return EINA_TRUE; } } else return EINA_FALSE; -- 2.7.4