summaryrefslogtreecommitdiff
path: root/tests/testiter.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-01-25 01:44:26 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-01-25 15:31:25 -0500
commit61e192f6c1edcec694c38ef07f4ec9ff9af01cdc (patch)
treec2fba8e0cc03f428a22db2355414783c9624253c /tests/testiter.c
parentef0c99b95c6c043bc95d7c26f9689972c2fe1a6c (diff)
downloadpango-61e192f6c1edcec694c38ef07f4ec9ff9af01cdc.tar.gz
Rename PangoLayoutLine to PangoLine
Diffstat (limited to 'tests/testiter.c')
-rw-r--r--tests/testiter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testiter.c b/tests/testiter.c
index 6547865c..062cd3b9 100644
--- a/tests/testiter.c
+++ b/tests/testiter.c
@@ -176,7 +176,7 @@ iter_cluster_test (PangoLayout *layout)
PangoLayoutIter *iter;
int index;
gboolean iter_next_ok;
- PangoLayoutLine *last_line = NULL;
+ PangoLine *last_line = NULL;
int expected_next_x = 0;
iter = pango_lines_get_iter (pango_layout_get_lines (layout));
@@ -184,7 +184,7 @@ iter_cluster_test (PangoLayout *layout)
while (iter_next_ok)
{
- PangoLayoutLine *line = pango_layout_iter_get_line (iter);
+ PangoLine *line = pango_layout_iter_get_line (iter);
/* Every cluster is part of a run */
g_assert (pango_layout_iter_get_run (iter));
@@ -259,7 +259,7 @@ test_glyphitem_iter (void)
PangoContext *context;
PangoFontDescription *font_desc;
PangoLayout *layout;
- PangoLayoutLine *line;
+ PangoLine *line;
const char *text;
GSList *l;
@@ -274,7 +274,7 @@ test_glyphitem_iter (void)
text = pango_layout_get_text (layout);
line = pango_lines_get_line (pango_layout_get_lines (layout), 0, NULL, NULL);
- for (l = pango_layout_line_get_runs (line); l; l = l->next)
+ for (l = pango_line_get_runs (line); l; l = l->next)
{
PangoGlyphItem *run = l->data;
int direction;