summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-08-26 10:48:16 +0100
committerTom Hacohen <tom@stosb.com>2015-08-26 10:48:16 +0100
commite8edee7c3a6454f652448e67b2a6fc9d1cda4eb5 (patch)
tree07828409a7018349abb1893301d9c9eb0488d1cd
parenta7108c9b5ac1dd8432dc814785dd12f5ff8528de (diff)
downloadelementary-e8edee7c3a6454f652448e67b2a6fc9d1cda4eb5.tar.gz
Elm win: Fix according to the new behaviour of parent_set.
This new behaviour was introduced in 9c78ee0bf4125c095e85f7fcf9921586cda64a52.
-rw-r--r--src/lib/elm_win.c9
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),