>From af73feb78dbd396f944fc64d782af6d55e9731d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Tue, 3 Jul 2012 11:37:56 +0200
Subject: [PATCH 01/13] WScreen argument not used in init_wdefaults()

The function init_wdefaults() don't use the argument WScreen,
so can be removed.
---
 src/wdefaults.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/wdefaults.c b/src/wdefaults.c
index 8d1ef54..7170b3d 100644
--- a/src/wdefaults.c
+++ b/src/wdefaults.c
@@ -89,7 +89,7 @@ static WMPropList *AIcon;
 static WMPropList *AnyWindow;
 static WMPropList *No;
 
-static void init_wdefaults(WScreen * scr)
+static void init_wdefaults(void)
 {
        AIcon = WMCreatePLString("Icon");
 
@@ -209,7 +209,7 @@ wDefaultFillAttributes(WScreen * scr, char *instance, char 
*class,
        dw = dc = dn = da = NULL;
 
        if (!ANoTitlebar)
-               init_wdefaults(scr);
+               init_wdefaults();
 
        if (class && instance) {
                buffer = StrConcatDot(instance, class);
@@ -411,7 +411,7 @@ int wDefaultGetStartWorkspace(WScreen * scr, char 
*instance, char *class)
        char *tmp;
 
        if (!ANoTitlebar)
-               init_wdefaults(scr);
+               init_wdefaults();
 
        if (!WDWindowAttributes->dictionary)
                return -1;
@@ -439,7 +439,7 @@ char *wDefaultGetIconFile(WScreen *scr, char *instance, 
char *class, Bool noDefa
        char *tmp;
 
        if (!ANoTitlebar)
-               init_wdefaults(scr);
+               init_wdefaults();
 
        if (!WDWindowAttributes->dictionary)
                return NULL;
-- 
1.7.10

-- 
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
>From af73feb78dbd396f944fc64d782af6d55e9731d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Tue, 3 Jul 2012 11:37:56 +0200
Subject: [PATCH 01/13] WScreen argument not used in init_wdefaults()

The function init_wdefaults() don't use the argument WScreen,
so can be removed.
---
 src/wdefaults.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/wdefaults.c b/src/wdefaults.c
index 8d1ef54..7170b3d 100644
--- a/src/wdefaults.c
+++ b/src/wdefaults.c
@@ -89,7 +89,7 @@ static WMPropList *AIcon;
 static WMPropList *AnyWindow;
 static WMPropList *No;
 
-static void init_wdefaults(WScreen * scr)
+static void init_wdefaults(void)
 {
 	AIcon = WMCreatePLString("Icon");
 
@@ -209,7 +209,7 @@ wDefaultFillAttributes(WScreen * scr, char *instance, char *class,
 	dw = dc = dn = da = NULL;
 
 	if (!ANoTitlebar)
-		init_wdefaults(scr);
+		init_wdefaults();
 
 	if (class && instance) {
 		buffer = StrConcatDot(instance, class);
@@ -411,7 +411,7 @@ int wDefaultGetStartWorkspace(WScreen * scr, char *instance, char *class)
 	char *tmp;
 
 	if (!ANoTitlebar)
-		init_wdefaults(scr);
+		init_wdefaults();
 
 	if (!WDWindowAttributes->dictionary)
 		return -1;
@@ -439,7 +439,7 @@ char *wDefaultGetIconFile(WScreen *scr, char *instance, char *class, Bool noDefa
 	char *tmp;
 
 	if (!ANoTitlebar)
-		init_wdefaults(scr);
+		init_wdefaults();
 
 	if (!WDWindowAttributes->dictionary)
 		return NULL;
-- 
1.7.10

Reply via email to