forked from enlightenment/efl
elm layout: Fixed handling of NULL in part_content_set.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com> SVN revision: 69918
This commit is contained in:
parent
d6bb18ee02
commit
2af393e43b
|
@ -371,6 +371,7 @@ _content_set_hook(Evas_Object *obj, const char *part, Evas_Object *content)
|
|||
Subinfo *si;
|
||||
const Eina_List *l;
|
||||
if (!wd) return;
|
||||
EINA_SAFETY_ON_NULL_RETURN(part);
|
||||
EINA_LIST_FOREACH(wd->subs, l, si)
|
||||
{
|
||||
if ((si->type == SWALLOW) && (!strcmp(part, si->part)))
|
||||
|
|
Loading…
Reference in New Issue