projects
/
profile
/
mobile
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4202773
)
[Genlist] Fix crash issues
author
Tae-Hwan Kim
<the81.kim@samsung.com>
Fri, 7 Jun 2013 06:21:33 +0000
(15:21 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 05:39:06 +0000
(14:39 +0900)
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
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
ae2cf26
..
0ac772c
100644
(file)
--- 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;