raster pushed a commit to branch master.


commit df2b31b63eaed894601ba8126d1f43f07edb6332
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sat Apr 23 23:06:13 2016 +0900

    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
 src/lib/evas/canvas/evas_object_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/evas/canvas/evas_object_main.c 
index 6a1983f..8b9710a 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -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);
    if (obj->delete_me || obj->eo_del_called) return;
    if (obj->ref > 0)


Reply via email to