1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

wmaker: Replaced local 'extern' definition of wPreferences by proper header usage

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-06-30 16:02:35 +02:00
committed by Carlos R. Mafra
parent 3803ae6493
commit 74cd836e48
36 changed files with 7 additions and 52 deletions

View File

@@ -76,7 +76,6 @@ extern WDDomain *WDWindowMaker;
extern WDDomain *WDWindowAttributes;
extern WDDomain *WDRootMenu;
extern int wScreenCount;
extern WPreferences wPreferences;
extern WShortKey wKeyBindings[WKBD_LAST];
typedef struct _WDefaultEntry WDefaultEntry;
@@ -3065,7 +3064,7 @@ static int setSwPOptions(WScreen * scr, WDefaultEntry * entry, void *tdata, void
char *path;
RImage *bgimage;
int cwidth, cheight;
WPreferences *prefs = foo;
struct WPreferences *prefs = foo;
if (!WMIsPLArray(array) || WMGetPropListItemCount(array) == 0) {
if (prefs->swtileImage)
@@ -3182,7 +3181,7 @@ static int setModifierKeyLabels(WScreen * scr, WDefaultEntry * entry, void *tdat
{
WMPropList *array = tdata;
int i;
WPreferences *prefs = foo;
struct WPreferences *prefs = foo;
if (!WMIsPLArray(array) || WMGetPropListItemCount(array) != 7) {
wwarning(_("Value for option \"%s\" must be an array of 7 strings"), entry->key);