summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2012-06-03 22:21:02 +0200
committerPavel Holejsovsky <pholejs@src.gnome.org>2012-06-04 20:36:12 +0200
commite51e452b223a508737cdc0ffded90440fa291efc (patch)
tree1db29df3cbf08b560f1057c333710b18f65dfde6
parentca6555a55ab8b64e43ca3527e479da3ed1af0b7f (diff)
downloadpango-e51e452b223a508737cdc0ffded90440fa291efc.tar.gz
Fix annotation for pango_layout_move_cursor_visually()
https://bugzilla.gnome.org/show_bug.cgi?id=677407
-rw-r--r--pango/pango-layout.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 31c30bfe..e83888ed 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,