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:
Jaeun Choi 2016-06-29 18:25:17 +09:00
parent e3fd84d1de
commit 921dba8457
1 changed files with 0 additions and 2 deletions

View File

@ -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);