Without it, it just assumes the object has no refcounts and deletes the
object by force. It's very bad if you use refcounts, because your refcounts
are gone.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@71936
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
{
Evas_Object_Smart *o = (Evas_Object_Smart *)(obj->object_data);
while (o->contained)
- evas_object_del((Evas_Object *)(o->contained));
+ {
+ evas_object_smart_member_del(
+ EINA_INLIST_CONTAINER_GET(o->contained, Evas_Object));
+ }
}
EAPI Evas_Object *