[gtk+/gtk-2-22] Annotate the methods to get TextBuffer iters (cherry picked from commit cf14d4f368278fcb74780b18c00e
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] Annotate the methods to get TextBuffer iters (cherry picked from commit cf14d4f368278fcb74780b18c00e
- Date: Sat, 26 Jun 2010 20:31:10 +0000 (UTC)
commit ace3ea4a89e01e2b641f4c4156a6cffad0a9d834
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Jun 14 19:04:47 2010 +0200
Annotate the methods to get TextBuffer iters
(cherry picked from commit cf14d4f368278fcb74780b18c00ef57902a25291)
gtk/gtktextbuffer.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 44cb322..fd89d70 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -2159,7 +2159,7 @@ gtk_text_buffer_move_mark (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_iter_at_mark:
* @buffer: a #GtkTextBuffer
- * @iter: iterator to initialize
+ * @iter: (out): iterator to initialize
* @mark: a #GtkTextMark in @buffer
*
* Initializes @iter with the current position of @mark.
@@ -2346,7 +2346,7 @@ gtk_text_buffer_get_selection_bound (GtkTextBuffer *buffer)
/**
* gtk_text_buffer_get_iter_at_child_anchor:
* @buffer: a #GtkTextBuffer
- * @iter: an iterator to be initialized
+ * @iter: (out): an iterator to be initialized
* @anchor: a child anchor that appears in @buffer
*
* Obtains the location of @anchor within @buffer.
@@ -2829,7 +2829,7 @@ gtk_text_buffer_remove_all_tags (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_iter_at_line_offset:
* @buffer: a #GtkTextBuffer
- * @iter: iterator to initialize
+ * @iter: (out): iterator to initialize
* @line_number: line number counting from 0
* @char_offset: char offset from start of line
*
@@ -2854,7 +2854,7 @@ gtk_text_buffer_get_iter_at_line_offset (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_iter_at_line_index:
* @buffer: a #GtkTextBuffer
- * @iter: iterator to initialize
+ * @iter: (out): iterator to initialize
* @line_number: line number counting from 0
* @byte_index: byte index from start of line
*
@@ -2879,7 +2879,7 @@ gtk_text_buffer_get_iter_at_line_index (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_iter_at_line:
* @buffer: a #GtkTextBuffer
- * @iter: iterator to initialize
+ * @iter: (out): iterator to initialize
* @line_number: line number counting from 0
*
* Initializes @iter to the start of the given line.
@@ -2898,7 +2898,7 @@ gtk_text_buffer_get_iter_at_line (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_iter_at_offset:
* @buffer: a #GtkTextBuffer
- * @iter: iterator to initialize
+ * @iter: (out): iterator to initialize
* @char_offset: char offset from start of buffer, counting from 0, or -1
*
* Initializes @iter to a position @char_offset chars from the start
@@ -2920,7 +2920,7 @@ gtk_text_buffer_get_iter_at_offset (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_start_iter:
* @buffer: a #GtkTextBuffer
- * @iter: iterator to initialize
+ * @iter: (out): iterator to initialize
*
* Initialized @iter with the first position in the text buffer. This
* is the same as using gtk_text_buffer_get_iter_at_offset() to get
@@ -2939,7 +2939,7 @@ gtk_text_buffer_get_start_iter (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_end_iter:
* @buffer: a #GtkTextBuffer
- * @iter: iterator to initialize
+ * @iter: (out): iterator to initialize
*
* Initializes @iter with the "end iterator," one past the last valid
* character in the text buffer. If dereferenced with
@@ -2961,8 +2961,8 @@ gtk_text_buffer_get_end_iter (GtkTextBuffer *buffer,
/**
* gtk_text_buffer_get_bounds:
* @buffer: a #GtkTextBuffer
- * @start: iterator to initialize with first position in the buffer
- * @end: iterator to initialize with the end iterator
+ * @start: (out): iterator to initialize with first position in the buffer
+ * @end: (out): iterator to initialize with the end iterator
*
* Retrieves the first and last iterators in the buffer, i.e. the
* entire buffer lies within the range [ start,@end).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]