When the parameter 'text' is NULL in elm_layout_text_set function,
the sub object data with the same part name is removed
from the layout's sub object list and the function returns immediately.
However, if the text part doesn't exist in the list,
a new sub object data is appended to the list even though the text is NULL.
This patch adds NULL check so the function can return in such cases.
(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);