forked from enlightenment/efl
Delete internal object when external part is removed
SVN revision: 44007
This commit is contained in:
parent
2ea026ea3a
commit
45a07d458e
|
@ -187,7 +187,8 @@ _edje_real_part_free(Edje_Real_Part *rp)
|
|||
if (rp->part->mouse_events)
|
||||
_edje_callbacks_del(rp->swallowed_object);
|
||||
|
||||
if (rp->part->type == EDJE_PART_TYPE_GROUP)
|
||||
if (rp->part->type == EDJE_PART_TYPE_GROUP ||
|
||||
rp->part->type == EDJE_PART_TYPE_EXTERNAL)
|
||||
evas_object_del(rp->swallowed_object);
|
||||
|
||||
rp->swallowed_object = NULL;
|
||||
|
|
Loading…
Reference in New Issue