summaryrefslogtreecommitdiff
path: root/pango/pangox.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangox.c')
-rw-r--r--pango/pangox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangox.c b/pango/pangox.c
index aa8b5918..cdab10bd 100644
--- a/pango/pangox.c
+++ b/pango/pangox.c
@@ -1614,7 +1614,7 @@ pango_x_render_layout (Display *display,
PangoLayoutLine *line;
int baseline;
- line = pango_layout_iter_get_line (iter);
+ line = pango_layout_iter_get_line_readonly (iter);
pango_layout_iter_get_line_extents (iter, NULL, &logical_rect);
baseline = pango_layout_iter_get_baseline (iter);