From 7e44e5ddf0409a2acb1c28db371ac698f3ff5b1f Mon Sep 17 00:00:00 2001 From: Bruno Dilly Date: Mon, 8 Nov 2010 16:55:26 +0000 Subject: [PATCH] Checking widtype on eapi elm_toolbar_item_label_set SVN revision: 54335 --- src/lib/elm_toolbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index 925255c..c19bc59 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -1282,7 +1282,6 @@ _item_label_set(Elm_Toolbar_Item *item, const char *label, const char *signal) { const char *s; - ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(item); if ((label) && (item->label) && (!strcmp(label, item->label))) return; eina_stringshare_replace(&item->label, label); @@ -1310,6 +1309,7 @@ _item_label_set(Elm_Toolbar_Item *item, const char *label, const char *signal) EAPI void elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label) { + ELM_WIDGET_ITEM_WIDTYPE_CHECK_OR_RETURN(item); _item_label_set(item, label, "elm,state,label_set"); } -- 2.7.4