Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ewin-ops.c 


Log Message:
Remove unused code.

===================================================================
RCS file: /cvs/e/e16/e/src/ewin-ops.c,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -3 -r1.127 -r1.128
--- ewin-ops.c  5 Jun 2008 17:59:51 -0000       1.127
+++ ewin-ops.c  11 Jul 2008 18:55:23 -0000      1.128
@@ -119,32 +119,6 @@
    return NULL;
 }
 
-#if 0                          /* Unused */
-void
-EwinFixPosition(EWin * ewin)
-{
-   int                 x, y;
-
-   if (!EwinIsMapped(ewin))
-      return;
-
-   x = EoGetX(ewin);
-   if ((x + ewin->border->border.left + 1) > WinGetW(VROOT))
-      x = WinGetW(VROOT) - ewin->border->border.left - 1;
-   else if ((x + EoGetW(ewin) - ewin->border->border.right - 1) < 0)
-      x = 0 - EoGetW(ewin) + ewin->border->border.right + 1;
-
-   y = EoGetY(ewin);
-   if ((y + ewin->border->border.top + 1) > WinGetH(VROOT))
-      y = WinGetH(VROOT) - ewin->border->border.top - 1;
-   else if ((y + EoGetH(ewin) - ewin->border->border.bottom - 1) < 0)
-      y = 0 - EoGetH(ewin) + ewin->border->border.bottom + 1;
-
-   if (x != EoGetX(ewin) || y != EoGetY(ewin))
-      EwinMove(ewin, x, y);
-}
-#endif
-
 static void
 EwinDetermineArea(EWin * ewin)
 {



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to