aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-09-13 14:07:27 +0200
committerKenny Levinsen <kl@kl.wtf>2021-09-13 14:22:51 +0200
commit3f7a04df22b304f10eede8cea2f0d2ceae659069 (patch)
treec2be58823b6695969bd2aa5d5b9682c55e7969e7 /sway/tree
parent671bb448a1a08f897a2f51254b22d80cdfa36832 (diff)
Rename pango_printf to render_text
This avoids using the pango_ prefix, reserved for functions coming from the Pango library.
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index d66d3870..6a01eab3 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -544,7 +544,7 @@ static void render_titlebar_text_texture(struct sway_output *output,
class->text[2], class->text[3]);
cairo_move_to(cairo, 0, config->font_baseline * scale - baseline);
- pango_printf(cairo, config->font, scale, pango_markup, "%s", text);
+ render_text(cairo, config->font, scale, pango_markup, "%s", text);
cairo_surface_flush(surface);
unsigned char *data = cairo_image_surface_get_data(surface);