summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorchanwook jung <jchanwook@gmail.com>2012-04-18 09:07:36 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-04-18 09:07:36 +0000
commitfd53d320f21db1b34c1b4651750b618cee5449ec (patch)
tree03736b403721d80e6d997d50421387380c6022d9 /src/lib
parent2e57c046479ebe5848bb7bd0a2770df1aa55c0f3 (diff)
From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch][Genlist] fix the bug in _elm_genlist_item_del_notserious I made a patch to fix the bug in _elm_genlist_item_del_notserious. If relcount is not 0 or walking is not 0, return. SVN revision: 70291
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_genlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 98909b547..dd1842e94 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -5897,6 +5897,9 @@ _elm_genlist_item_del_notserious(Elm_Gen_Item *it)
5897{ 5897{
5898 elm_widget_item_pre_notify_del(it); 5898 elm_widget_item_pre_notify_del(it);
5899 it->generation = it->wd->generation - 1; /* This means that the item is deleted */ 5899 it->generation = it->wd->generation - 1; /* This means that the item is deleted */
5900
5901 if ((it->relcount > 0) || (it->walking > 0)) return;
5902
5900 if (it->selected) it->wd->selected = eina_list_remove(it->wd->selected, it); 5903 if (it->selected) it->wd->selected = eina_list_remove(it->wd->selected, it);
5901 5904
5902 if (it->itc->func.del) 5905 if (it->itc->func.del)