Delete internal object when external part is removed

SVN revision: 44007
This commit is contained in:
Iván Briano 2009-11-26 18:03:40 +00:00
parent 2ea026ea3a
commit 45a07d458e
1 changed files with 2 additions and 1 deletions

View File

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