mirror of
https://github.com/labwc/labwc.git
synced 2026-02-15 22:05:25 -05:00
Add log.c with info() and warn()
This commit is contained in:
parent
5ea1527558
commit
2a17df0f8b
11 changed files with 68 additions and 17 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "labwc.h"
|
||||
#include "common/spawn.h"
|
||||
#include "common/log.h"
|
||||
|
||||
#include <strings.h>
|
||||
|
||||
|
|
@ -16,7 +17,6 @@ void action(struct server *server, struct keybind *keybind)
|
|||
} else if (!strcasecmp(keybind->action, "debug-views")) {
|
||||
dbg_show_views(server);
|
||||
} else {
|
||||
fprintf(stderr, "warn: action (%s) not supported\n",
|
||||
keybind->action);
|
||||
warn("action (%s) not supported", keybind->action);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue