aboutsummaryrefslogtreecommitdiff
path: root/common/pango.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/pango.c')
-rw-r--r--common/pango.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/pango.c b/common/pango.c
index 7e164043..fc3d0688 100644
--- a/common/pango.c
+++ b/common/pango.c
@@ -61,7 +61,7 @@ PangoLayout *get_pango_layout(cairo_t *cairo, const char *font,
pango_layout_set_text(layout, buf, -1);
free(buf);
} else {
- wlr_log(WLR_ERROR, "pango_parse_markup '%s' -> error %s", text,
+ sway_log(SWAY_ERROR, "pango_parse_markup '%s' -> error %s", text,
error->message);
g_error_free(error);
markup = false; // fallback to plain text
@@ -92,7 +92,7 @@ void get_text_size(cairo_t *cairo, const char *font, int *width, int *height,
char *buf = malloc(length);
if (buf == NULL) {
- wlr_log(WLR_ERROR, "Failed to allocate memory");
+ sway_log(SWAY_ERROR, "Failed to allocate memory");
return;
}
va_start(args, fmt);
@@ -119,7 +119,7 @@ void pango_printf(cairo_t *cairo, const char *font,
char *buf = malloc(length);
if (buf == NULL) {
- wlr_log(WLR_ERROR, "Failed to allocate memory");
+ sway_log(SWAY_ERROR, "Failed to allocate memory");
return;
}
va_start(args, fmt);