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
This commit is contained in:
Daniel Juyung Seo 2011-07-21 07:10:17 +00:00
parent 946f1183d1
commit 30c36efd24
1 changed files with 3 additions and 4 deletions

View File

@ -4777,9 +4777,9 @@ elm_genlist_item_del(Elm_Genlist_Item *it)
* Set the data item from the genlist item * Set the data item from the genlist item
* *
* This set the data value passed on the elm_genlist_item_append() and * This set the data value passed on the elm_genlist_item_append() and
* related item addition calls. This function will also call * related item addition calls. This function will not call
* elm_genlist_item_update() so the item will be updated to reflect the * elm_genlist_item_update() anymore. So call elm_genlist_item_update()
* new data. * manually only when it's needed.
* *
* @param it The item * @param it The item
* @param data The new data pointer to set * @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_WIDTYPE_CHECK_OR_RETURN(it);
elm_widget_item_data_set(it, data); elm_widget_item_data_set(it, data);
elm_genlist_item_update(it);
} }
/** /**