mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 12:58:08 +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 *AnyWindow;
|
||||||
static WMPropList *No;
|
static WMPropList *No;
|
||||||
|
|
||||||
static void init_wdefaults(WScreen * scr)
|
static void init_wdefaults(void)
|
||||||
{
|
{
|
||||||
AIcon = WMCreatePLString("Icon");
|
AIcon = WMCreatePLString("Icon");
|
||||||
|
|
||||||
@@ -209,7 +209,7 @@ wDefaultFillAttributes(WScreen * scr, char *instance, char *class,
|
|||||||
dw = dc = dn = da = NULL;
|
dw = dc = dn = da = NULL;
|
||||||
|
|
||||||
if (!ANoTitlebar)
|
if (!ANoTitlebar)
|
||||||
init_wdefaults(scr);
|
init_wdefaults();
|
||||||
|
|
||||||
if (class && instance) {
|
if (class && instance) {
|
||||||
buffer = StrConcatDot(instance, class);
|
buffer = StrConcatDot(instance, class);
|
||||||
@@ -411,7 +411,7 @@ int wDefaultGetStartWorkspace(WScreen * scr, char *instance, char *class)
|
|||||||
char *tmp;
|
char *tmp;
|
||||||
|
|
||||||
if (!ANoTitlebar)
|
if (!ANoTitlebar)
|
||||||
init_wdefaults(scr);
|
init_wdefaults();
|
||||||
|
|
||||||
if (!WDWindowAttributes->dictionary)
|
if (!WDWindowAttributes->dictionary)
|
||||||
return -1;
|
return -1;
|
||||||
@@ -439,7 +439,7 @@ char *wDefaultGetIconFile(WScreen *scr, char *instance, char *class, Bool noDefa
|
|||||||
char *tmp;
|
char *tmp;
|
||||||
|
|
||||||
if (!ANoTitlebar)
|
if (!ANoTitlebar)
|
||||||
init_wdefaults(scr);
|
init_wdefaults();
|
||||||
|
|
||||||
if (!WDWindowAttributes->dictionary)
|
if (!WDWindowAttributes->dictionary)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user