mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Remove info() and die()
This commit is contained in:
parent
22f5073ebd
commit
20fd8f59a7
11 changed files with 26 additions and 51 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <wlr/util/log.h>
|
||||
#include "common/buf.h"
|
||||
#include "common/dir.h"
|
||||
#include "common/font.h"
|
||||
|
|
@ -209,7 +210,7 @@ parse_xml(const char *filename, struct menu *menu)
|
|||
warn("cannot read (%s)", menuxml);
|
||||
return;
|
||||
}
|
||||
info("read menu file (%s)", menuxml);
|
||||
wlr_log(WLR_INFO, "read menu file %s", menuxml);
|
||||
buf_init(&b);
|
||||
while (getline(&line, &len, stream) != -1) {
|
||||
char *p = strrchr(line, '\n');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue