Rename pango_printf to render_text

This avoids using the pango_ prefix, reserved for functions coming
from the Pango library.
This commit is contained in:
Simon Ser 2021-09-13 14:07:27 +02:00 committed by Kenny Levinsen
parent 671bb448a1
commit 3f7a04df22
5 changed files with 12 additions and 12 deletions

View file

@ -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);