diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-06-24 23:00:58 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-07-04 11:17:21 -0400 |
commit | 778df432eb9bba4441d4c47cdbfbcd385b1e9d42 (patch) | |
tree | 39b66234cc325aafdddcebd76ec888d0cc099aaa /tests/dump-boundaries.c | |
parent | 249ce63ebb3d5666d5559184dd7c2c65e32695c2 (diff) | |
download | pango-778df432eb9bba4441d4c47cdbfbcd385b1e9d42.tar.gz |
Convert to the pango2 prefix
This makes pango 2 not just parallel-installable
with pango 1.x, but parallel-usable in the same
process.
Diffstat (limited to 'tests/dump-boundaries.c')
-rw-r--r-- | tests/dump-boundaries.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/dump-boundaries.c b/tests/dump-boundaries.c index d9b64532..467e637b 100644 --- a/tests/dump-boundaries.c +++ b/tests/dump-boundaries.c @@ -1,4 +1,4 @@ -/* Pango +/* Pango2 * dump-boundaries.c: Dump text boundaries for a file * * Copyright (C) 1999-2000 Red Hat Software @@ -50,7 +50,7 @@ static void dump_text (const char *text) { unsigned int len; - PangoLogAttr *attrs; + Pango2LogAttr *attrs; unsigned int i; gunichar *ucs4; @@ -58,12 +58,12 @@ dump_text (const char *text) fail ("Invalid UTF-8 in file"); len = g_utf8_strlen (text, -1); - attrs = g_new0 (PangoLogAttr, len + 1); + attrs = g_new0 (Pango2LogAttr, len + 1); - pango_get_log_attrs (text, + pango2_get_log_attrs (text, -1, 0, - pango_language_from_string ("C"), + pango2_language_from_string ("C"), attrs, len + 1); |