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
|
|
@ -85,7 +85,7 @@ find_dir(struct ctx *ctx)
|
|||
/* handle /etc/xdg... */
|
||||
ctx->build_path_fn(ctx, NULL, d.path);
|
||||
if (debug) {
|
||||
info("%s", ctx->buf);
|
||||
fprintf(stderr, "%s\n", ctx->buf);
|
||||
}
|
||||
if (isdir(ctx->buf)) {
|
||||
return ctx->buf;
|
||||
|
|
@ -100,7 +100,7 @@ find_dir(struct ctx *ctx)
|
|||
for (gchar **p = prefixes; *p; p++) {
|
||||
ctx->build_path_fn(ctx, *p, d.path);
|
||||
if (debug) {
|
||||
info("%s", ctx->buf);
|
||||
fprintf(stderr, "%s\n", ctx->buf);
|
||||
}
|
||||
if (isdir(ctx->buf)) {
|
||||
g_strfreev(prefixes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue