forked from enlightenment/efl
Evas smart: Fixed issue with eyelight.
Thanks a lot to Daniel for reporting. SVN revision: 72068
This commit is contained in:
parent
87c142844f
commit
c4d284c1fe
|
@ -301,10 +301,11 @@ void
|
||||||
_evas_object_smart_members_all_del(Evas_Object *obj)
|
_evas_object_smart_members_all_del(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
Evas_Object_Smart *o = (Evas_Object_Smart *)(obj->object_data);
|
Evas_Object_Smart *o = (Evas_Object_Smart *)(obj->object_data);
|
||||||
while (o->contained)
|
Evas_Object *memobj;
|
||||||
|
Eina_Inlist *itrn;
|
||||||
|
EINA_INLIST_FOREACH_SAFE(o->contained, itrn, memobj)
|
||||||
{
|
{
|
||||||
evas_object_smart_member_del(
|
evas_object_del((Evas_Object *) memobj);
|
||||||
EINA_INLIST_CONTAINER_GET(o->contained, Evas_Object));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue