From aae56e026b0725b8c73bb85c1298029059db7778 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Wed, 12 Jan 2011 09:26:36 +0900 Subject: [PATCH] [elm_genlist.c] Removed temporary fix for elm_genlist_clear. --- src/lib/elm_genlist.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index f4893ca..d7cebee 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -2910,14 +2910,6 @@ elm_genlist_clear(Evas_Object *obj) Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; - /** this is temporary code **/ - Elm_Genlist_Item *it; - while ((it = elm_genlist_first_item_get(obj))) { - elm_genlist_item_del(it); - } - return; - /** this should be fixed **/ - wd->move_effect_mode = ELM_GENLIST_ITEM_MOVE_EFFECT_NONE; wd->pinchzoom_effect_mode = ELM_GENLIST_ITEM_PINCHZOOM_EFFECT_NONE; elm_smart_scroller_hold_set(wd->scr, 0); -- 2.7.4