yoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=110572a22fb7647904c6772d29bbf674ea9fa06b

commit 110572a22fb7647904c6772d29bbf674ea9fa06b
Author: Michael Bouchaud <y...@efl.so>
Date:   Wed Sep 18 16:18:37 2013 +0200

    elementary: oops, missing this check
---
 src/lib/elm_widget.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 235fc15..a758c55 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -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

-- 


Reply via email to