diff options
author | Simon Ser <contact@emersion.fr> | 2021-09-13 14:07:27 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-09-13 14:22:51 +0200 |
commit | 3f7a04df22b304f10eede8cea2f0d2ceae659069 (patch) | |
tree | c2be58823b6695969bd2aa5d5b9682c55e7969e7 /include | |
parent | readme: link to gamja for IRC (diff) | |
download | sway-3f7a04df22b304f10eede8cea2f0d2ceae659069.tar.gz sway-3f7a04df22b304f10eede8cea2f0d2ceae659069.tar.zst sway-3f7a04df22b304f10eede8cea2f0d2ceae659069.zip |
Rename pango_printf to render_text
This avoids using the pango_ prefix, reserved for functions coming
from the Pango library.
Diffstat (limited to 'include')
-rw-r--r-- | include/pango.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pango.h b/include/pango.h index 7f41441b..93affc23 100644 --- a/include/pango.h +++ b/include/pango.h | |||
@@ -18,7 +18,7 @@ PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, | |||
18 | void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, | 18 | void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, |
19 | int *baseline, double scale, bool markup, const char *fmt, ...); | 19 | int *baseline, double scale, bool markup, const char *fmt, ...); |
20 | void get_text_metrics(const char *font, int *height, int *baseline); | 20 | void get_text_metrics(const char *font, int *height, int *baseline); |
21 | void pango_printf(cairo_t *cairo, const char *font, | 21 | void render_text(cairo_t *cairo, const char *font, |
22 | double scale, bool markup, const char *fmt, ...); | 22 | double scale, bool markup, const char *fmt, ...); |
23 | 23 | ||
24 | #endif | 24 | #endif |