summaryrefslogtreecommitdiff
path: root/pango/pangox.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-01-16 09:57:30 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-01-16 09:57:30 +0000
commit0b0ddda32b910686118f8d7669364bc6d172e37a (patch)
tree1b470cc8310ad68b28df9742db8046184d70a356 /pango/pangox.c
parent56e7902a63f2036ea46a386c9d80827d6420f143 (diff)
downloadpango-0b0ddda32b910686118f8d7669364bc6d172e37a.tar.gz
Use pango_layout(_iter)?_get_line_readonly() instead of
2007-01-16 Behdad Esfahbod <behdad@gnome.org> * examples/cairotwisted.c (draw_text): * pango/pangocairo-win32font.c (max_glyph_width): * pango/pangofc-font.c (max_glyph_width): * pango/pangowin32.c (max_glyph_width), (pango_win32_render_layout): * pango/pangox.c (pango_x_render_layout): Use pango_layout(_iter)?_get_line_readonly() instead of pango_layout(_iter)?_get_line(). svn path=/trunk/; revision=2146
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);