rimmed pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=326d0246c811938a6fb7e88c4c3724e2f4f342cc

commit 326d0246c811938a6fb7e88c4c3724e2f4f342cc
Author: Vyacheslav Reutskiy <[email protected]>
Date:   Thu Jun 16 10:56:31 2016 +0300

    edje_edit: return NULL if part has not style attribute
---
 src/lib/edje/edje_edit.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index c10d1eb..92218d8 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -8456,7 +8456,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

-- 


Reply via email to