[pango] adding allow-none introspection metadata to pango_layout_get_cursor_pos



commit 6767b4b0a39d2faeb57829edaf87472ebce9983b
Author: Alberto Ruiz <aruiz gnome org>
Date:   Mon Apr 25 14:54:22 2011 +0100

    adding allow-none introspection metadata to pango_layout_get_cursor_pos

 pango/pango-layout.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 02fdf19..98118a0 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -2166,9 +2166,9 @@ pango_layout_line_get_char_direction (PangoLayoutLine *layout_line,
  * pango_layout_get_cursor_pos:
  * @layout: a #PangoLayout
  * @index_: the byte index of the cursor
- * @strong_pos: (out): location to store the strong cursor position
+ * @strong_pos: (out) (allow-none): location to store the strong cursor position
  *                     (may be %NULL)
- * @weak_pos: (out): location to store the weak cursor position (may be %NULL)
+ * @weak_pos: (out) (allow-none): location to store the weak cursor position (may be %NULL)
  *
  * Given an index within a layout, determines the positions that of the
  * strong and weak cursors if the insertion point is at that



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]