projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
195cf60
)
elm: reset state on item removal.
author
Cedric BAIL
<cedric.bail@free.fr>
Sat, 14 Jan 2012 22:28:45 +0000
(22:28 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Sat, 14 Jan 2012 22:28:45 +0000
(22:28 +0000)
SVN revision: 67213
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
76cfc49
..
bd28f31
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-5402,6
+5402,11
@@
_elm_genlist_item_del_serious(Elm_Gen_Item *it)
if (it->group)
it->wd->group_items = eina_list_remove(it->wd->group_items, it);
+ if (it->wd->state)
+ {
+ eina_inlist_sorted_state_free(it->wd->state);
+ it->wd->state = NULL;
+ }
if (it->wd->calc_job) ecore_job_del(it->wd->calc_job);
it->wd->calc_job = ecore_job_add(it->wd->calc_cb, it->wd);
free(it->item);