[gtksourceview/gtksourceview-4-2] Mark GtkTextIter as inout parameters
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gtksourceview-4-2] Mark GtkTextIter as inout parameters
- Date: Thu, 24 Oct 2019 17:05:06 +0000 (UTC)
commit fd6a71d86135fbf2e2c9f89625b7c9642c0629d7
Author: Alberto Fanjul <albertofanjul gmail com>
Date: Thu Oct 24 02:28:11 2019 +0200
Mark GtkTextIter as inout parameters
gtksourceview/gtksourcebuffer.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtksourceview/gtksourcebuffer.c b/gtksourceview/gtksourcebuffer.c
index f841c733..9f800511 100644
--- a/gtksourceview/gtksourcebuffer.c
+++ b/gtksourceview/gtksourcebuffer.c
@@ -2116,7 +2116,7 @@ _gtk_source_buffer_source_mark_prev (GtkSourceBuffer *buffer,
/**
* gtk_source_buffer_forward_iter_to_source_mark:
* @buffer: a #GtkSourceBuffer.
- * @iter: an iterator.
+ * @iter: (inout): an iterator.
* @category: (nullable): category to search for, or %NULL
*
* Moves @iter to the position of the next #GtkSourceMark of the given
@@ -2150,7 +2150,7 @@ gtk_source_buffer_forward_iter_to_source_mark (GtkSourceBuffer *buffer,
/**
* gtk_source_buffer_backward_iter_to_source_mark:
* @buffer: a #GtkSourceBuffer.
- * @iter: an iterator.
+ * @iter: (inout): an iterator.
* @category: (nullable): category to search for, or %NULL
*
* Moves @iter to the position of the previous #GtkSourceMark of the given
@@ -2425,7 +2425,7 @@ gtk_source_buffer_get_context_classes_at_iter (GtkSourceBuffer *buffer,
/**
* gtk_source_buffer_iter_forward_to_context_class_toggle:
* @buffer: a #GtkSourceBuffer.
- * @iter: a #GtkTextIter.
+ * @iter: (inout): a #GtkTextIter.
* @context_class: the context class.
*
* Moves forward to the next toggle (on or off) of the context class. If no
@@ -2464,7 +2464,7 @@ gtk_source_buffer_iter_forward_to_context_class_toggle (GtkSourceBuffer *buffer,
/**
* gtk_source_buffer_iter_backward_to_context_class_toggle:
* @buffer: a #GtkSourceBuffer.
- * @iter: a #GtkTextIter.
+ * @iter: (inout): a #GtkTextIter.
* @context_class: the context class.
*
* Moves backward to the next toggle (on or off) of the context class. If no
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]