diff options
-rw-r--r-- | src/lib/elm_win.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 6305f161e..c970a9e2e 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), |