[pango] Fix annotation for pango_layout_move_cursor_visually()
- From: Pavel Holejsovsky <pholejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fix annotation for pango_layout_move_cursor_visually()
- Date: Mon, 4 Jun 2012 19:01:42 +0000 (UTC)
commit e51e452b223a508737cdc0ffded90440fa291efc
Author: Pavel Holejsovsky <pholejs src gnome org>
Date: Sun Jun 3 22:21:02 2012 +0200
Fix annotation for pango_layout_move_cursor_visually()
https://bugzilla.gnome.org/show_bug.cgi?id=677407
pango/pango-layout.c | 13 +++++++------
1 files 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]