elementary: oops, missing this check

This commit is contained in:
Michael Bouchaud 2013-09-18 16:18:37 +02:00
parent 91848c5b43
commit 6374a9cf59
1 changed files with 3 additions and 2 deletions

View File

@ -5829,8 +5829,9 @@ EAPI void
_elm_widget_item_part_text_custom_update(Elm_Widget_Item *item)
{
ELM_WIDGET_ITEM_CHECK_OR_RETURN(item);
eina_hash_foreach(item->labels,
_elm_widget_item_part_text_custom_foreach, item);
if (item->labels)
eina_hash_foreach(item->labels,
_elm_widget_item_part_text_custom_foreach, item);
}
EAPI void