aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-29 10:30:18 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-29 10:30:18 +0200
commit3ffb541827f74e9a5111a2892b00fb8b00806e18 (patch)
tree749b4a4fa0d6abd62c97d37ac833d78d5070c314 /legacy/elementary/src/lib/elm_win.c
parentslider: remove duplicated lines in slider test. (diff)
downloadefl-3ffb541827f74e9a5111a2892b00fb8b00806e18.tar.gz
win: remove dead code.
pointer.ee was never set. This lead to some useless ERR discovered by klasyc, thanks.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 8674105ea9..494db21f0b 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -141,7 +141,9 @@ struct _Elm_Win_Data
} screen;
struct
{
+#if 0
Ecore_Evas *ee;
+#endif
Evas *evas;
Evas_Object *obj, *hot_obj;
int hot_x, hot_y;
@@ -1490,7 +1492,9 @@ _elm_win_evas_object_smart_hide(Eo *obj, Elm_Win_Data *sd)
if (sd->pointer.obj)
{
evas_object_hide(sd->pointer.obj);
+#if 0
ecore_evas_hide(sd->pointer.ee);
+#endif
}
}
@@ -1844,7 +1848,9 @@ _elm_win_obj_intercept_show(void *data,
}
if (sd->pointer.obj)
{
+#if 0
ecore_evas_show(sd->pointer.ee);
+#endif
evas_object_show(sd->pointer.obj);
}
evas_object_show(obj);