This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.

The branch, next has been updated
       via  1445d70c1e63bb1baff40a1c6dd22a2dfd33e722 (commit)
      from  a4e247d05234f31449e9c59ce7b9d38a22ba8681 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://repo.or.cz/w/wmaker-crm.git/commit/1445d70c1e63bb1baff40a1c6dd22a2dfd33e722

commit 1445d70c1e63bb1baff40a1c6dd22a2dfd33e722
Author: Rodolfo García Peñas (kix) <k...@kix.es>
Date:   Thu Feb 16 23:59:15 2012 +0100

    WindowMaker: remove extern from setDoubleClick()
    
    The extern is not needed because WINGs/WINGsP.h is already being
    included.
    
    Also remove an old code comment.

diff --git a/src/defaults.c b/src/defaults.c
index 0a353f2..0da72c3 100644
--- a/src/defaults.c
+++ b/src/defaults.c
@@ -45,6 +45,7 @@
 #include <X11/keysym.h>
 
 #include <wraster.h>
+#include <WINGs/WINGsP.h>
 
 #include "WindowMaker.h"
 #include "framewin.h"
@@ -3018,18 +3019,8 @@ static int setModifierKeyLabels(WScreen * scr, 
WDefaultEntry * entry, WMPropList
        return 0;
 }
 
-/*
- * Very ugly kluge.
- * Need access to the double click variables, so that all widgets in
- * wmaker panels will have the same dbl-click values.
- * TODO: figure a better way of dealing with it.
- */
-#include <WINGs/WINGsP.h>
-
 static int setDoubleClick(WScreen * scr, WDefaultEntry * entry, int *value, 
void *foo)
 {
-       extern _WINGsConfiguration WINGsConfiguration;
-
        if (*value <= 0)
                *(int *)foo = 1;
 

-----------------------------------------------------------------------

Summary of changes:
 src/defaults.c |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)


repo.or.cz automatic notification. Contact project admin crma...@gmail.com
if you want to unsubscribe, or site admin ad...@repo.or.cz if you receive
no reply.
-- 
wmaker-crm.git ("The Window Maker window manager")


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to