diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-01-25 14:48:13 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-01-25 15:34:35 -0500 |
commit | d815d061c85ec5f403f007453c502d18f5616ea4 (patch) | |
tree | 7421c588f57824c96bb4da002f91bfe5d34bc1d6 /tests/test-bidi.c | |
parent | ec2958682949220f15a32066eff412d857c735c5 (diff) | |
download | pango-d815d061c85ec5f403f007453c502d18f5616ea4.tar.gz |
lines: tweak the array api
Make this work like the line api, with
pango_lines_get_lines() and pango_lines_get_line_count().
Update all users.
Diffstat (limited to 'tests/test-bidi.c')
-rw-r--r-- | tests/test-bidi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-bidi.c b/tests/test-bidi.c index dadad5b1..c560f73e 100644 --- a/tests/test-bidi.c +++ b/tests/test-bidi.c @@ -212,7 +212,7 @@ test_move_cursor_line (void) text = pango_layout_get_text (layout); lines = pango_layout_get_lines (layout); - line = pango_lines_get_line (lines, 0, NULL, NULL); + line = pango_lines_get_lines (lines)[0]; n_chars = g_utf8_strlen (text, -1); |