From 30c36efd2428810087982fbd373b6b5cd478f9e9 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Thu, 21 Jul 2011 07:10:17 +0000 Subject: [PATCH] elm genlist: Removed elm_genlist_item_update() from elm_genlist_item_data_set(). So please call elm_genlist_item_update() when you need it. SVN revision: 61546 --- legacy/elementary/src/lib/elm_genlist.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c index 2a4c7cfb36..c4137cded7 100644 --- a/legacy/elementary/src/lib/elm_genlist.c +++ b/legacy/elementary/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); } /**