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

Sanitize calling sites of wDefaultsCheckDomains()

There is no point in having parameter in wDefaultsCheckDomains() and
not using it, so let's simply remove the parameter altogether and
avoid silly-looking things like

    wDefaultsCheckDomains("bla");
This commit is contained in:
Carlos R. Mafra
2009-08-18 15:14:00 +02:00
parent f4fd88b8a9
commit cb31fd374c
3 changed files with 5 additions and 5 deletions

View File

@@ -216,7 +216,7 @@ DispatchEvent(XEvent *event)
Restart(NULL, True);
} else if (WCHECK_STATE(WSTATE_NEED_REREAD)) {
WCHANGE_STATE(WSTATE_NORMAL);
wDefaultsCheckDomains("bla");
wDefaultsCheckDomains();
}
/* for the case that all that is wanted to be dispatched is
@@ -356,7 +356,7 @@ void inotifyHandleEvents (int fd, int wd)
}
if ((pevent->mask & IN_MODIFY) && oneShotFlag == 0) {
fprintf(stdout,"wmaker: reading config files in defaults database.\n");
wDefaultsCheckDomains(NULL);
wDefaultsCheckDomains();
}
/* move to next event in the buffer */
@@ -1013,7 +1013,7 @@ handleClientMessage(XEvent *event)
}
} else if (event->xclient.message_type == _XA_WINDOWMAKER_COMMAND) {
wDefaultsCheckDomains("bla");
wDefaultsCheckDomains();
} else if (event->xclient.message_type == _XA_WINDOWMAKER_WM_FUNCTION) {
WApplication *wapp;