summaryrefslogtreecommitdiff
path: root/gtk/gtktextlayout.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-11-21 10:52:35 +0000
committerDaniel Boles <dboles@src.gnome.org>2017-11-22 20:48:11 +0000
commit7c2e28c8c51e202d5d313ac326e22f47ceb64b18 (patch)
tree3b546b2b48a8d365cd0b76f894aec549797da11f /gtk/gtktextlayout.c
parentef031d87be290f1fc42147f9370879d3896d8f08 (diff)
downloadgtk+-7c2e28c8c51e202d5d313ac326e22f47ceb64b18.tar.gz
doc: TextLayout: Add missing (out) annotations
and move from (allow-none) to (optional)
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r--gtk/gtktextlayout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c
index 69db15f970..43421d6c64 100644
--- a/gtk/gtktextlayout.c
+++ b/gtk/gtktextlayout.c
@@ -2821,8 +2821,8 @@ gtk_text_layout_get_iter_at_position (GtkTextLayout *layout,
* gtk_text_layout_get_cursor_locations:
* @layout: a #GtkTextLayout
* @iter: a #GtkTextIter
- * @strong_pos: (allow-none): location to store the strong cursor position (may be %NULL)
- * @weak_pos: (allow-none): location to store the weak cursor position (may be %NULL)
+ * @strong_pos: (out) (optional): location to store the strong cursor position, or %NULL
+ * @weak_pos: (out) (optional): location to store the weak cursor position, or %NULL
*
* Given an iterator within a text layout, determine the positions of the
* strong and weak cursors if the insertion point is at that