cedric pushed a commit to branch master.

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

commit b29af75bc83253a2cde5f3b4571b65991b8a19ce
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Wed Apr 29 10:30:18 2015 +0200

    win: remove dead code.
    
    pointer.ee was never set. This lead to some useless ERR discovered by 
klasyc, thanks.
---
 src/lib/elm_win.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 8674105..494db21 100644
--- a/src/lib/elm_win.c
+++ b/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);

-- 


Reply via email to