diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 09:57:30 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 09:57:30 +0000 |
commit | 0b0ddda32b910686118f8d7669364bc6d172e37a (patch) | |
tree | 1b470cc8310ad68b28df9742db8046184d70a356 /pango/pangocairo-win32font.c | |
parent | 56e7902a63f2036ea46a386c9d80827d6420f143 (diff) | |
download | pango-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/pangocairo-win32font.c')
-rw-r--r-- | pango/pangocairo-win32font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-win32font.c b/pango/pangocairo-win32font.c index ddfe0340..6aa114d9 100644 --- a/pango/pangocairo-win32font.c +++ b/pango/pangocairo-win32font.c @@ -283,7 +283,7 @@ max_glyph_width (PangoLayout *layout) int max_width = 0; GSList *l, *r; - for (l = pango_layout_get_lines (layout); l; l = l->next) + for (l = pango_layout_get_lines_readonly (layout); l; l = l->next) { PangoLayoutLine *line = l->data; |