forked from enlightenment/efl
evas - legacy evas_object_del - always hide obj regardless of refs
if an object iot reffed or not hide on del. it should have been this way before eo. eoifications i think messed a few things up. this does bring up an issue... in eo we have no way to explicitly do stuff on eo_del regardless of references at the time. this needs to be solved. @fix
This commit is contained in:
parent
e4d815dc48
commit
df2b31b63e
|
@ -725,6 +725,7 @@ evas_object_del(Evas_Object *eo_obj)
|
|||
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, MY_CLASS);
|
||||
|
||||
if (!obj) return;
|
||||
evas_object_hide(eo_obj);
|
||||
evas_object_async_block(obj);
|
||||
if (obj->delete_me || obj->eo_del_called) return;
|
||||
if (obj->ref > 0)
|
||||
|
|
Loading…
Reference in New Issue