forked from enlightenment/efl
delete a smart child from its parent if it is still in there on cleanup :)
SVN revision: 14388
This commit is contained in:
parent
5024eab748
commit
bee9d128ea
|
@ -336,6 +336,8 @@ evas_object_smart_cleanup(Evas_Object *obj)
|
|||
Evas_Smart *s;
|
||||
|
||||
s = obj->smart.smart;
|
||||
if (obj->smart.parent)
|
||||
evas_object_smart_member_del(obj);
|
||||
while (obj->smart.contained)
|
||||
{
|
||||
/* null out smart parent object - maybe a hole to creep through? */
|
||||
|
|
Loading…
Reference in New Issue