From: Rajeev Ranjan Date: Thu, 4 Nov 2010 12:05:20 +0000 (+0900) Subject: [Elm_Index] Issue [As index item added the index height shoud be proportionate] fixed. X-Git-Tag: sbs-working-i386~46^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=607b10e08b809c6cb2d6003247a470bef8e55b35;p=framework%2Fuifw%2Felementary.git [Elm_Index] Issue [As index item added the index height shoud be proportionate] fixed. --- diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c index d7e28a2..de4fbc9 100644 --- a/src/lib/elm_index.c +++ b/src/lib/elm_index.c @@ -1124,7 +1124,10 @@ elm_index_item_clear(Evas_Object *obj) if (it->level != wd->level) continue; clear = eina_list_append(clear, it); } - EINA_LIST_FREE(clear, it) _item_free(it); + EINA_LIST_FREE(clear, it) { + _item_free(it); + wd->tot_items_count[wd->level]--; + } } /**