mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
Remove wsyserrorwithcode, rename wsyserror to werror
wsyserrorwithcode - Not used, no point either. wsyserror->werror - qualifying "error" with a "type" hardly makes sense if there are not at least two "type"s. There are not. Safe trip. Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
c5f5e0b9c0
commit
1f21919809
@@ -56,7 +56,7 @@ int showCrashDialog(int sig)
|
||||
XCloseDisplay(dpy);
|
||||
dpy = NULL;
|
||||
} else {
|
||||
wsyserror(_("cannot open connection for crashing dialog panel. Aborting."));
|
||||
werror(_("cannot open connection for crashing dialog panel. Aborting."));
|
||||
crashAction = WMAbort;
|
||||
}
|
||||
|
||||
@@ -98,16 +98,16 @@ int MonitorLoop(int argc, char **argv)
|
||||
pid = fork();
|
||||
if (pid == 0) {
|
||||
execvp(child_argv[0], child_argv);
|
||||
wsyserror(_("Error respawning Window Maker"));
|
||||
werror(_("Error respawning Window Maker"));
|
||||
exit(1);
|
||||
} else if (pid < 0) {
|
||||
wsyserror(_("Error respawning Window Maker"));
|
||||
werror(_("Error respawning Window Maker"));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
do {
|
||||
if ((exited = waitpid(-1, &status, 0)) < 0) {
|
||||
wsyserror(_("Error during monitoring of Window Maker process."));
|
||||
werror(_("Error during monitoring of Window Maker process."));
|
||||
error = True;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user