Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        comms.c comms.h session.h x.c xwin.h 


Log Message:
Trivial cleanups.

===================================================================
RCS file: /cvs/e/e16/e/src/comms.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -3 -r1.86 -r1.87
--- comms.c     29 Nov 2007 18:00:10 -0000      1.86
+++ comms.c     15 Dec 2007 12:36:58 -0000      1.87
@@ -28,7 +28,7 @@
 #include "e16-ecore_list.h"
 #include "xwin.h"
 
-struct _client
+typedef struct
 {
    char               *name;
    Window              xwin;
@@ -37,7 +37,9 @@
    char               *version;
    char               *info;
    char                replied;
-};
+} Client;
+
+static void         CommsSend(Client * c, const char *s);
 
 static Ecore_List  *client_list = NULL;
 
@@ -343,7 +345,7 @@
      }
 }
 
-void
+static void
 CommsSend(Client * c, const char *s)
 {
    if (!c)
@@ -352,6 +354,7 @@
    CommsDoSend(c->xwin, s);
 }
 
+#if 0                          /* Unused */
 /*
  * When we are running in multi-head, connect to the master wm process
  * and send the message
@@ -365,7 +368,6 @@
    CommsDoSend(RootWindow(disp, Mode.wm.master_screen), s);
 }
 
-#if 0                          /* Unused */
 /*
  * When we are running in multi-head, connect to the slave wm processes
  * and broadcast the message
===================================================================
RCS file: /cvs/e/e16/e/src/comms.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- comms.h     28 Nov 2007 19:28:54 -0000      1.2
+++ comms.h     15 Dec 2007 12:36:58 -0000      1.3
@@ -24,12 +24,6 @@
 #ifndef _COMMS_H_
 #define _COMMS_H_
 
-typedef struct _client Client;
-
 void                CommsInit(void);
-void                CommsSend(Client * c, const char *s);
-void                CommsSendToMasterWM(const char *s);
-void                CommsBroadcast(const char *s);
-void                CommsBroadcastToSlaveWMs(const char *s);
 
 #endif /* _COMMS_H_ */
===================================================================
RCS file: /cvs/e/e16/e/src/session.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- session.h   2 Dec 2007 18:39:17 -0000       1.4
+++ session.h   15 Dec 2007 12:36:58 -0000      1.5
@@ -41,6 +41,5 @@
 void                SessionExit(int mode, const char *params);
 void                SessionHelper(int when);
 void                SetSMID(const char *smid);
-void                SettingsSession(void);
 
 #endif /* _SESSION_H_ */
===================================================================
RCS file: /cvs/e/e16/e/src/x.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -3 -r1.165 -r1.166
--- x.c 21 Oct 2007 13:13:03 -0000      1.165
+++ x.c 15 Dec 2007 12:36:58 -0000      1.166
@@ -1119,7 +1119,7 @@
 }
 
 void
-ESelectInputChange(Win win, long set, long clear)
+ESelectInputChange(Win win, unsigned long set, unsigned long clear)
 {
    XWindowAttributes   xwa;
 
===================================================================
RCS file: /cvs/e/e16/e/src/xwin.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- xwin.h      10 Sep 2007 20:13:59 -0000      1.34
+++ xwin.h      15 Dec 2007 12:36:58 -0000      1.35
@@ -141,7 +141,8 @@
 void                EWindowSetGeometry(Win win, int x, int y, int w, int h,
                                       int bw);
 void                EWindowSetMapped(Win win, int mapped);
-void                ESelectInputChange(Win win, long set, long clear);
+void                ESelectInputChange(Win win, unsigned long set,
+                                      unsigned long clear);
 
 void                EMoveWindow(Win win, int x, int y);
 void                EResizeWindow(Win win, int w, int h);



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to