1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Remove unused argument from init_wdefaults()

The function init_wdefaults() doesn't use the argument WScreen,
so it can be removed.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-07-03 11:37:56 +02:00
committed by Carlos R. Mafra
parent 347d6f9fda
commit fd07a6bb36

View File

@@ -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;