summaryrefslogtreecommitdiff
path: root/tests/testiter.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testiter.c')
-rw-r--r--tests/testiter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testiter.c b/tests/testiter.c
index 5ac2f7c9..6547865c 100644
--- a/tests/testiter.c
+++ b/tests/testiter.c
@@ -81,7 +81,7 @@ iter_char_test (PangoLayout *layout)
{
PangoRectangle extents, run_extents;
PangoLayoutIter *iter;
- PangoLayoutRun *run;
+ PangoRun *run;
int num_chars;
int i, index, offset;
int leading_x, trailing_x, x0, x1;
@@ -120,8 +120,8 @@ iter_char_test (PangoLayout *layout)
PangoItem *item;
PangoGlyphString *glyphs;
- item = pango_layout_run_get_item (run);
- glyphs = pango_layout_run_get_glyphs (run);
+ item = pango_run_get_item (run);
+ glyphs = pango_run_get_glyphs (run);
/* Get needed data for the GlyphString */
pango_layout_iter_get_run_extents (iter, NULL, &run_extents);