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:
e8b9034
)
edje_edit: return NULL if part has not style attribute
60/82060/2
author
Vyacheslav Reutskiy
<v.reutskiy@samsung.com>
Thu, 16 Jun 2016 07:56:31 +0000
(10:56 +0300)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Wed, 3 Aug 2016 09:25:02 +0000
(
02:25
-0700)
Change-Id: I47358c1250c2d710513f669c09281d48deea8d71
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
7a89f36
..
6547599
100644
(file)
--- a/
src/lib/edje/edje_edit.c
+++ b/
src/lib/edje/edje_edit.c
@@
-8127,7
+8127,10
@@
edje_edit_state_text_style_get(Evas_Object *obj, const char *part, const char *s
return NULL;
txt = (Edje_Part_Description_Text *)pd;
- return eina_stringshare_add(txt->text.style.str);
+ if (txt->text.style.str)
+ return eina_stringshare_add(txt->text.style.str);
+ else
+ return NULL;
}
EAPI Eina_Bool