win: remove dead code.
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 29 Apr 2015 08:30:18 +0000 (10:30 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 29 Apr 2015 08:30:18 +0000 (10:30 +0200)
pointer.ee was never set. This lead to some useless ERR discovered by klasyc, thanks.

src/lib/elm_win.c

index 8674105..494db21 100644 (file)
@@ -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);