summaryrefslogtreecommitdiff
path: root/tests/test-bidi.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-bidi.c')
-rw-r--r--tests/test-bidi.c2
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);