mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
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:
parent
671bb448a1
commit
3f7a04df22
5 changed files with 12 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue