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:
committed by
Carlos R. Mafra
parent
347d6f9fda
commit
fd07a6bb36
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user