forked from enlightenment/efl
edje - print error when swallow part does not exist
SVN revision: 69281
This commit is contained in:
parent
6b3d9da609
commit
3e52a0ed73
|
@ -2293,7 +2293,11 @@ edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_sw
|
|||
}
|
||||
|
||||
rp = _edje_real_part_recursive_get(ed, part);
|
||||
if (!rp) return EINA_FALSE;
|
||||
if (!rp)
|
||||
{
|
||||
ERR("cannot swallow part %s: part not exist!", part);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
if (rp->part->type != EDJE_PART_TYPE_SWALLOW)
|
||||
{
|
||||
ERR("cannot swallow part %s: not swallow type!", rp->part->name);
|
||||
|
|
Loading…
Reference in New Issue