aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-01-15 22:36:57 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-01-15 22:36:57 +0900
commitf2f6ab6e2325db48d50920834c513ffdca12cb44 (patch)
treef6eb3918e1ae2bc0acc3e1e68a4e1274c719999d
parentgenlist: guard the item deletion problem. (diff)
downloadelementary-devs/hermet/develop.tar.gz
genlist: don't access item after removing it.devs/hermet/develop
-rw-r--r--src/bin/test_genlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c
index cded9a047..4953bfc62 100644
--- a/src/bin/test_genlist.c
+++ b/src/bin/test_genlist.c
@@ -4078,7 +4078,7 @@ _gl_del_sel(void *data, Evas_Object *obj, void *event_info)
else if (num_category == 1)
{
elm_genlist_clear(obj);
- _gl_del_item_append(elm_object_item_widget_get(it), itc);
+ _gl_del_item_append(obj, itc);
}
else if (num_category == 2)
{