projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cf9ee6
)
edje_edit: text style should be able to set into NULL
author
Vitalii Vorobiov
<vi.vorobiov@samsung.com>
Tue, 7 Jun 2016 14:56:40 +0000
(17:56 +0300)
committer
Vitalii Vorobiov
<vi.vorobiov@samsung.com>
Tue, 7 Jun 2016 14:59:15 +0000
(17:59 +0300)
@fix
src/lib/edje/edje_edit.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_edit.c
b/src/lib/edje/edje_edit.c
index
ca04f1d
..
bca60c2
100644
(file)
--- a/
src/lib/edje/edje_edit.c
+++ b/
src/lib/edje/edje_edit.c
@@
-8453,14
+8453,13
@@
edje_edit_state_text_style_set(Evas_Object *obj, const char *part, const char *s
Edje_Part_Description_Text *txt;
GET_PD_OR_RETURN(EINA_FALSE);
- if (!style) return EINA_FALSE;
if ((rp->part->type != EDJE_PART_TYPE_TEXT) &&
(rp->part->type != EDJE_PART_TYPE_TEXTBLOCK))
return EINA_FALSE;
txt = (Edje_Part_Description_Text *)pd;
-
txt->text.style.str = eina_stringshare_add(
style);
+
_edje_if_string_replace(ed, &txt->text.style.str,
style);
edje_object_calc_force(obj);
return EINA_TRUE;