[pango] adding allow-none introspection metadata to pango_layout_get_cursor_pos
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] adding allow-none introspection metadata to pango_layout_get_cursor_pos
- Date: Mon, 25 Apr 2011 14:49:14 +0000 (UTC)
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]