diff options
author | Alberto Ruiz <aruiz@gnome.org> | 2011-04-25 23:47:55 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@gnome.org> | 2011-04-25 23:47:55 +0100 |
commit | f02381600e245c9c5721d6b4d5e98e3f067282d5 (patch) | |
tree | 27ae2342694d6d8bdc08bc99a776230ac0589009 | |
parent | 4c34b796e0977b7b95e1e86c76e365671b1a6e9d (diff) | |
download | pango-f02381600e245c9c5721d6b4d5e98e3f067282d5.tar.gz |
Fixed annotation typo and added (allow-none) to pango_layout_index_to_line_x
-rw-r--r-- | pango/pango-layout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index e13f6e55..d173a166 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -1598,10 +1598,10 @@ pango_layout_index_to_line_and_extents (PangoLayout *layout, * @trailing: an integer indicating the edge of the grapheme to retrieve the * position of. If 0, the trailing edge of the grapheme, if > 0, * the leading of the grapheme. - * @line: (out): location to store resulting line index. (which will - * between 0 and pango_layout_get_line_count(layout) - 1) - * @x_pos (out): location to store resulting position within line - * (%PANGO_SCALE units per device unit) + * @line: (out) (allow-none): location to store resulting line index. (which will + * between 0 and pango_layout_get_line_count(layout) - 1), or %NULL + * @x_pos: (out) (allow-none): location to store resulting position within line + * (%PANGO_SCALE units per device unit), or %NULL * * Converts from byte @index_ within the @layout to line and X position. * (X position is measured from the left edge of the line) |