Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h borders.c desktops.c fx.c handlers.c ipc.c menus.c pager.c 
        warp.c 


Log Message:
Indent. Remove unused function. Comment comments.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -3 -r1.225 -r1.226
--- E.h 18 Mar 2004 17:03:46 -0000      1.225
+++ E.h 19 Mar 2004 00:27:15 -0000      1.226
@@ -1676,7 +1676,7 @@
 EWin               *AddInternalToFamily(Window win, char *bname, int type,
                                        void *ptr,
                                        void (*init) (EWin * ewin, void *ptr));
-void                CalcEwinSizes(EWin *ewin);
+void                CalcEwinSizes(EWin * ewin);
 void                HonorIclass(char *s, int id);
 void                SyncBorderToEwin(EWin * ewin);
 void                UpdateBorderInfo(EWin * ewin);
@@ -2236,7 +2236,7 @@
 void                IB_Animate(char iconify, EWin * from, EWin * to);
 void                IconifyEwin(EWin * ewin);
 void                DeIconifyEwin(EWin * ewin);
-void                MakeIcon(EWin *ewin);
+void                MakeIcon(EWin * ewin);
 void                RemoveMiniIcon(EWin * ewin);
 Iconbox            *IconboxCreate(char *name);
 void                IconboxDestroy(Iconbox * ib);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/borders.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -3 -r1.148 -r1.149
--- borders.c   18 Mar 2004 17:03:47 -0000      1.148
+++ borders.c   19 Mar 2004 00:27:16 -0000      1.149
@@ -193,12 +193,7 @@
    if (mode.focuswin)
       EDBUG_RETURN(mode.focuswin);
 
-   /* FIXME: Is this semicolin supposed to be here in this if statement? */
-   /* until someone says one way or another its commented out --Mandrake */
-   /* if (mode.mouse_over_win); */
    EDBUG_RETURN(mode.mouse_over_win);
-
-   return NULL;
 }
 
 void
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/desktops.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- desktops.c  18 Mar 2004 17:03:47 -0000      1.72
+++ desktops.c  19 Mar 2004 00:27:16 -0000      1.73
@@ -562,7 +562,7 @@
 
    if (!dpmap)
      {
-       unsigned int                 w, h, x, y;
+       unsigned int        w, h, x, y;
        char                hasbg, hasfg;
        Pixmap              pmap, mask;
        ColorModifierClass *cm;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/fx.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- fx.c        18 Mar 2004 17:03:48 -0000      1.37
+++ fx.c        19 Mar 2004 00:27:16 -0000      1.38
@@ -82,7 +82,7 @@
 static FXHandler   *
 FX_Find(const char *name)
 {
-   unsigned int                 i;
+   unsigned int        i;
 
    for (i = 0; i < N_FX_HANDLERS; i++)
       if (!strcmp(fx_handlers[i].name, name))
@@ -138,7 +138,7 @@
 static void
 FX_Activate(char *effect)
 {
-   unsigned int                 i;
+   unsigned int        i;
 
    for (i = 0; i < N_FX_HANDLERS; i++)
      {
@@ -158,7 +158,7 @@
 void
 FX_DeskChange(void)
 {
-   unsigned int                 i;
+   unsigned int        i;
 
    for (i = 0; i < N_FX_HANDLERS; i++)
      {
@@ -173,7 +173,7 @@
 void
 FX_Pause(void)
 {
-   unsigned int                 i;
+   unsigned int        i;
 
    for (i = 0; i < N_FX_HANDLERS; i++)
      {
@@ -198,7 +198,7 @@
 char              **
 FX_Active(int *num)
 {
-   unsigned int                 i;
+   unsigned int        i;
    char              **list = NULL;
 
    *num = 0;
@@ -218,7 +218,7 @@
 int
 FX_IsOn(char *effect)
 {
-   unsigned int                 i;
+   unsigned int        i;
 
    for (i = 0; i < N_FX_HANDLERS; i++)
      {
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/handlers.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- handlers.c  18 Mar 2004 17:03:48 -0000      1.35
+++ handlers.c  19 Mar 2004 00:27:16 -0000      1.36
@@ -127,7 +127,7 @@
       SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGABRT, SIGFPE, SIGSEGV, SIGPIPE,
       SIGALRM, SIGTERM, SIGUSR1, SIGUSR2, SIGCHLD, SIGBUS
    };
-   unsigned int                 i;
+   unsigned int        i;
    struct sigaction    sa;
 
    EDBUG(6, "SignalsSetup");
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ipc.c,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -3 -r1.142 -r1.143
--- ipc.c       18 Mar 2004 17:03:49 -0000      1.142
+++ ipc.c       19 Mar 2004 00:27:16 -0000      1.143
@@ -4106,11 +4106,12 @@
 static void
 IPC_ShowIcons(char *params, Client * c)
 {
-    /* Doesn't look like this function is doing anything, but it used to 
-     * if I recall correctly --Mandrake */
-    return;
-    params = NULL;
-    c = NULL;
+   /* Doesn't look like this function is doing anything, but it used to 
+    * if I recall correctly --Mandrake
+    * If it did anything useful, it was before 0.16.5 /Kim */
+   return;
+   params = NULL;
+   c = NULL;
 }
 
 static void
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/menus.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -3 -r1.111 -r1.112
--- menus.c     18 Mar 2004 17:03:49 -0000      1.111
+++ menus.c     19 Mar 2004 00:27:16 -0000      1.112
@@ -1895,7 +1895,7 @@
 }
 #endif
 
-static Menu               *
+static Menu        *
 MenuCreateFromGroups(char *name, MenuStyle * ms)
 {
    Menu               *m, *mm;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/pager.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -3 -r1.74 -r1.75
--- pager.c     18 Mar 2004 17:03:49 -0000      1.74
+++ pager.c     19 Mar 2004 00:27:16 -0000      1.75
@@ -287,11 +287,12 @@
 static void
 PagerRefresh(EWin * ewin)
 {
-    /* This doesn't do anything anymore apparently
-     * --Mandrake
-     */
-    return;
-    ewin = NULL;
+   /* This doesn't do anything anymore apparently
+    * --Mandrake
+    * This is new code.
+    * It can be removed but I have kept it around, just in case /Kim */
+   return;
+   ewin = NULL;
 }
 
 static void
@@ -409,23 +410,6 @@
    Efree(p);
 }
 
-#if 0
-/*
- e  Doesn't look like this is ever used, commented out for now
- * --Mandrake
- */
-static void
-PagerOnUnmap(Pager * p)
-{
-   PagerHideHi(p);
-   if (p == mode.context_pager)
-     {
-       mode.context_pager = NULL;
-       mode.mode = MODE_NONE;
-     }
-}
-#endif
-
 Pager             **
 PagersForDesktop(int d, int *num)
 {
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/warp.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- warp.c      18 Mar 2004 17:03:50 -0000      1.37
+++ warp.c      19 Mar 2004 00:27:16 -0000      1.38
@@ -47,7 +47,7 @@
 static int          warptitles_num = 0;
 static Window      *warptitles = NULL;
 static EWin       **warptitles_ewin = NULL;
-static unsigned int          warpFocusKey = 0;
+static unsigned int warpFocusKey = 0;
 
 int
 WarpFocusHandleEvent(XEvent * ev)




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to