evas: perform hide on objects during del only during destruction

this matches pre-eo behavior and prevents hide-on-delete from altering
delete mechanics

ref df2b31b63e
This commit is contained in:
Mike Blumenkrantz 2016-04-26 16:18:15 -04:00
parent 7c4fce78df
commit 76002e6c84
1 changed files with 1 additions and 2 deletions

View File

@ -725,7 +725,6 @@ 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)
@ -733,7 +732,7 @@ evas_object_del(Evas_Object *eo_obj)
obj->del_ref = EINA_TRUE;
return;
}
evas_object_hide(eo_obj);
obj->eo_del_called = EINA_TRUE;
eo_del(eo_obj);