forked from enlightenment/enlightenment
this code appears to be functionally identical, yet one version breaks the world.
SVN revision: 73258
This commit is contained in:
parent
e0663ff92d
commit
a4d99c2f30
|
@ -514,11 +514,14 @@ static void
|
|||
_e_smart_del(Evas_Object *obj)
|
||||
{
|
||||
INTERNAL_ENTRY;
|
||||
Evas_Object *o;
|
||||
|
||||
if (sd->del_func) sd->del_func(obj);
|
||||
EINA_LIST_FREE(sd->subobjs, o)
|
||||
evas_object_del(o);
|
||||
while (sd->subobjs)
|
||||
{
|
||||
Evas_Object *sobj = sd->subobjs->data;
|
||||
evas_object_del(sobj);
|
||||
sd->subobjs = eina_list_remove(sd->subobjs, sobj);
|
||||
}
|
||||
free(sd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue