Fix annotation for pango_layout_move_cursor_visually()
authorPavel Holejsovsky <pholejs@src.gnome.org>
Sun, 3 Jun 2012 20:21:02 +0000 (22:21 +0200)
committerPavel Holejsovsky <pholejs@src.gnome.org>
Mon, 4 Jun 2012 18:36:12 +0000 (20:36 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=677407

pango/pango-layout.c

index 31c30bf..e83888e 100644 (file)
@@ -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,