tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=e8edee7c3a6454f652448e67b2a6fc9d1cda4eb5

commit e8edee7c3a6454f652448e67b2a6fc9d1cda4eb5
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Aug 26 10:48:16 2015 +0100

    Elm win: Fix according to the new behaviour of parent_set.
    
    This new behaviour was introduced in
    9c78ee0bf4125c095e85f7fcf9921586cda64a52.
---
 src/lib/elm_win.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 6305f16..c970a9e 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -3632,15 +3632,6 @@ _elm_win_finalize_internal(Eo *obj, Elm_Win_Data *sd, 
const char *name, Elm_Win_
 
    eo_do(obj, eo_parent_set(ecore_evas_get(tmp_sd.ee)));
 
-   /* XXX: This hack is needed because we parent ourselves to an inside object.
-    * That should be fixed, and then this can be fixed.
-    * Only needed if there wasn't a parent, because if there was, we are just
-    * replacing it. */
-   if (!parent)
-     {
-        eo_unref(obj);
-     }
-
    eo_do_super(obj, MY_CLASS, eo_constructor());
    eo_do(obj,
          evas_obj_type_set(MY_CLASS_NAME_LEGACY),

-- 


Reply via email to