diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-07-08 22:15:32 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-07-08 22:15:32 +0000 |
commit | b9f7b88e3d100b87a856e077b5f2fdbf49c73ebb (patch) | |
tree | e51a0fd2de7833ca1e05722f870a92d8f25d0a14 /pango/pango-glyph.h | |
parent | d54f97cea6ac3136621fc06a5239ad4bf142fde9 (diff) | |
download | pango-b9f7b88e3d100b87a856e077b5f2fdbf49c73ebb.tar.gz |
Fix silly error in implementation of pango_glyph_string_get_width(), and
2006-07-08 Behdad Esfahbod <behdad@gnome.org>
* pango/glyphstring.c (pango_glyph_string_get_width):
* pango/pango-glyph.h:
* pango/pango-layout.c (pango_layout_line_index_to_x),
(pango_layout_line_x_to_index), (pango_layout_line_get_x_ranges):
* pango/pango-renderer.c (pango_renderer_draw_layout_line): Fix silly
error in implementation of pango_glyph_string_get_width(), and also
remove unused font parameter from its signature.
Diffstat (limited to 'pango/pango-glyph.h')
-rw-r--r-- | pango/pango-glyph.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/pango-glyph.h b/pango/pango-glyph.h index 71b6911e..92a8e6f8 100644 --- a/pango/pango-glyph.h +++ b/pango/pango-glyph.h @@ -91,8 +91,7 @@ void pango_glyph_string_extents (PangoGlyphString *glyphs, PangoFont *font, PangoRectangle *ink_rect, PangoRectangle *logical_rect); -int pango_glyph_string_get_width(PangoGlyphString *glyphs, - PangoFont *font); +int pango_glyph_string_get_width(PangoGlyphString *glyphs); void pango_glyph_string_extents_range (PangoGlyphString *glyphs, int start, |