projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac1b25
)
Checking widtype on eapi elm_toolbar_item_label_set
author
Bruno Dilly
<bdilly@profusion.mobi>
Mon, 8 Nov 2010 16:55:26 +0000
(16:55 +0000)
committer
Bruno Dilly
<bdilly@profusion.mobi>
Mon, 8 Nov 2010 16:55:26 +0000
(16:55 +0000)
SVN revision: 54335
src/lib/elm_toolbar.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_toolbar.c
b/src/lib/elm_toolbar.c
index 925255cdca69ab1846ce87122d2944fbb0897ab6..c19bc59047c42aa1acca370641741726e89af4fb 100644
(file)
--- 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");
}