From e51e452b223a508737cdc0ffded90440fa291efc Mon Sep 17 00:00:00 2001 From: Pavel Holejsovsky Date: Sun, 3 Jun 2012 22:21:02 +0200 Subject: [PATCH] Fix annotation for pango_layout_move_cursor_visually() https://bugzilla.gnome.org/show_bug.cgi?id=677407 --- pango/pango-layout.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 31c30bf..e83888e 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -1716,12 +1716,13 @@ pango_layout_index_to_line_x (PangoLayout *layout, * indicates that the cursor has been moved off the beginning * of the layout. A value of %G_MAXINT indicates that * the cursor has been moved off the end of the layout. - * @new_trailing: number of characters to move forward from the location returned - * for @new_index to get the position where the cursor should - * be displayed. This allows distinguishing the position at - * the beginning of one line from the position at the end - * of the preceding line. @new_index is always on the line - * where the cursor should be displayed. + * @new_trailing: (out): number of characters to move forward from the + * location returned for @new_index to get the position + * where the cursor should be displayed. This allows + * distinguishing the position at the beginning of one + * line from the position at the end of the preceding + * line. @new_index is always on the line where the + * cursor should be displayed. * * Computes a new cursor position from an old position and * a count of positions to move visually. If @direction is positive, -- 2.7.4