Remove src/common/log.c

Use wlr_log() instead
This commit is contained in:
Johan Malm 2021-07-23 21:15:55 +01:00
parent 20fd8f59a7
commit 82e47ac1f5
20 changed files with 28 additions and 65 deletions

View file

@ -16,10 +16,8 @@
#include <string.h>
#include <wlr/util/box.h>
#include <wlr/util/log.h>
#include "common/dir.h"
#include "common/font.h"
#include "common/log.h"
#include "common/string-helpers.h"
#include "common/zfree.h"
#include "config/rcxml.h"
@ -266,7 +264,7 @@ rounded_rect(struct wlr_renderer *renderer, struct rounded_corner_ctx *ctx)
cairo_line_to(cairo, 0, 0);
break;
default:
warn("unknown corner type");
wlr_log(WLR_ERROR, "unknown corner type");
}
cairo_close_path(cairo);
cairo_set_operator(cairo, CAIRO_OPERATOR_SOURCE);
@ -293,7 +291,7 @@ rounded_rect(struct wlr_renderer *renderer, struct rounded_corner_ctx *ctx)
cairo_line_to(cairo, w - half_line_width, h);
break;
default:
warn("unknown corner type");
wlr_log(WLR_ERROR, "unknown corner type");
}
cairo_stroke(cairo);