Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        aclass.c backgrounds.c ecompmgr.c ewin-ops.c mwm.c 


Log Message:
Trivial fixes and cleanups.

===================================================================
RCS file: /cvs/e/e16/e/src/aclass.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- aclass.c    30 Mar 2006 21:30:50 -0000      1.28
+++ aclass.c    9 Apr 2006 09:26:14 -0000       1.29
@@ -645,9 +645,9 @@
      case EVENT_KEY_UP:
        event = "KeyUp";
        goto encode_kb;
+      encode_kb:
        if (!aa->key_str)
           return 0;
-      encode_kb:
        len = Esnprintf(buf, len, "%-7s %4s %8s %s\n", event, mod, aa->key_str,
                        (aa->action->params) ? aa->action->params : "");
        break;
===================================================================
RCS file: /cvs/e/e16/e/src/backgrounds.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- backgrounds.c       29 Mar 2006 19:13:16 -0000      1.63
+++ backgrounds.c       9 Apr 2006 09:26:14 -0000       1.64
@@ -729,8 +729,8 @@
 void
 BackgroundSet(Background * bg, Window win, unsigned int w, unsigned int h)
 {
-   Pixmap              pmap;
-   unsigned long       pixel;
+   Pixmap              pmap = None;
+   unsigned long       pixel = 0;
 
    if (bg->pmap)
       pmap = bg->pmap;
===================================================================
RCS file: /cvs/e/e16/e/src/ecompmgr.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -3 -r1.107 -r1.108
--- ecompmgr.c  6 Apr 2006 21:20:16 -0000       1.107
+++ ecompmgr.c  9 Apr 2006 09:26:15 -0000       1.108
@@ -181,8 +181,8 @@
    XserverRegion       rgn_screen;
    int                 shadow_mode;
    unsigned int        opac_or;        /* 0 -> 0xffffffff */
-   float               opac_blur;      /* 0. -> 1. */
-   float               opac_sharp;     /* 0. -> 1. */
+   double              opac_blur;      /* 0. -> 1. */
+   double              opac_sharp;     /* 0. -> 1. */
 } Mode_compmgr;
 
 #define _ECM_SET_CLIP_CHANGED()  Mode_compmgr.reorder = 1
@@ -2517,7 +2517,6 @@
           goto case_CreateNotify;
        else
           goto case_DestroyNotify;
-       break;
 
      case ConfigureNotify:
        if (ev->xconfigure.window == VRoot.win)
===================================================================
RCS file: /cvs/e/e16/e/src/ewin-ops.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -3 -r1.92 -r1.93
--- ewin-ops.c  2 Apr 2006 09:45:39 -0000       1.92
+++ ewin-ops.c  9 Apr 2006 09:26:15 -0000       1.93
@@ -33,7 +33,6 @@
 #include "iclass.h"            /* FIXME - Should not be here */
 #include "snaps.h"
 #include "xwin.h"
-#include <math.h>
 
 static const WinOp  winops[] = {
    {"border", 2, 1, 0, EWIN_OP_BORDER},
===================================================================
RCS file: /cvs/e/e16/e/src/mwm.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- mwm.c       6 Apr 2006 21:20:16 -0000       1.33
+++ mwm.c       9 Apr 2006 09:26:15 -0000       1.34
@@ -23,7 +23,6 @@
 #include "E.h"
 #include "ewins.h"
 #include "hints.h"
-#include <X11/Xatom.h>
 
 /* Motif window hints */
 #define MWM_HINTS_FUNCTIONS           (1L << 0)




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to