From: seoz Date: Thu, 21 Jul 2011 07:10:17 +0000 (+0000) Subject: elm genlist: Removed elm_genlist_item_update() from X-Git-Tag: REL_F_I9500_20120323_1~17^2~2258 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0ca8e6c1ba80589dd8a8d301c8979e914ce6425;p=framework%2Fuifw%2Felementary.git elm genlist: Removed elm_genlist_item_update() from elm_genlist_item_data_set(). So please call elm_genlist_item_update() when you need it. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61546 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 2a4c7cf..c4137cd 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -4777,9 +4777,9 @@ elm_genlist_item_del(Elm_Genlist_Item *it) * Set the data item from the genlist item * * This set the data value passed on the elm_genlist_item_append() and - * related item addition calls. This function will also call - * elm_genlist_item_update() so the item will be updated to reflect the - * new data. + * related item addition calls. This function will not call + * elm_genlist_item_update() anymore. So call elm_genlist_item_update() + * manually only when it's needed. * * @param it The item * @param data The new data pointer to set @@ -4792,7 +4792,6 @@ elm_genlist_item_data_set(Elm_Genlist_Item *it, { ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(it); elm_widget_item_data_set(it, data); - elm_genlist_item_update(it); } /**