mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 02:47:46 +03: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
|
@ -127,7 +127,7 @@ void get_text_metrics(const char *font, int *height, int *baseline) {
|
|||
cairo_destroy(cairo);
|
||||
}
|
||||
|
||||
void pango_printf(cairo_t *cairo, const char *font,
|
||||
void render_text(cairo_t *cairo, const char *font,
|
||||
double scale, bool markup, const char *fmt, ...) {
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue