forked from enlightenment/efl
Revert "layout: Add NULL check in _elm_layout_text_set function"
This reverts commit e3fd84d1de
.
NULL checking point is wrong.
This commit is contained in:
parent
e3fd84d1de
commit
921dba8457
|
@ -1300,8 +1300,6 @@ _elm_layout_text_set(Eo *obj, Elm_Layout_Smart_Data *sd, const char *part, const
|
|||
(wd->resize_obj, part, text))
|
||||
return EINA_FALSE;
|
||||
|
||||
if (!text) return EINA_TRUE;
|
||||
|
||||
if (!sub_d)
|
||||
{
|
||||
sub_d = ELM_NEW(Elm_Layout_Sub_Object_Data);
|
||||
|
|
Loading…
Reference in New Issue