summaryrefslogtreecommitdiff
path: root/pango/pango-layout-run.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-layout-run.c')
-rw-r--r--pango/pango-layout-run.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pango-layout-run.c b/pango/pango-layout-run.c
index 63965842..90edb3f0 100644
--- a/pango/pango-layout-run.c
+++ b/pango/pango-layout-run.c
@@ -9,13 +9,13 @@
PangoItem *
pango_layout_run_get_item (PangoLayoutRun *run)
{
- return run->item;
+ return run->glyph_item.item;
}
PangoGlyphString *
pango_layout_run_get_glyphs (PangoLayoutRun *run)
{
- return run->glyphs;
+ return run->glyph_item.glyphs;
}
/**
@@ -40,7 +40,7 @@ pango_layout_run_get_extents (PangoLayoutRun *run,
PangoRectangle *ink_rect,
PangoRectangle *logical_rect)
{
- PangoGlyphItem *glyph_item = run;
+ PangoGlyphItem *glyph_item = &run->glyph_item;
ItemProperties properties;
gboolean has_underline;
gboolean has_overline;