[vala/wip/albfan/gtksourceview-vapi] gtksourceview-2.0: Fix iter parameter in SourceBuffer.backward/forward/...



commit 83af5c8be996d258a2fa36c12214013c449c6d04
Author: Alberto Fanjul <albertofanjul gmail com>
Date:   Tue Oct 29 09:17:26 2019 +0100

    gtksourceview-2.0: Fix iter parameter in SourceBuffer.backward/forward/...

 vapi/gtksourceview-2.0.vapi                                | 8 ++++----
 vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata | 4 ++++
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtksourceview-2.0.vapi b/vapi/gtksourceview-2.0.vapi
index 1a6cd86ae..b71663096 100644
--- a/vapi/gtksourceview-2.0.vapi
+++ b/vapi/gtksourceview-2.0.vapi
@@ -5,12 +5,12 @@ namespace Gtk {
        public class SourceBuffer : Gtk.TextBuffer {
                [CCode (has_construct_function = false)]
                public SourceBuffer (Gtk.TextTagTable? table);
-               public bool backward_iter_to_source_mark (Gtk.TextIter iter, string category);
+               public bool backward_iter_to_source_mark (ref Gtk.TextIter iter, string category);
                public void begin_not_undoable_action ();
                public unowned Gtk.SourceMark create_source_mark (string name, string category, Gtk.TextIter 
where);
                public void end_not_undoable_action ();
                public void ensure_highlight (Gtk.TextIter start, Gtk.TextIter end);
-               public bool forward_iter_to_source_mark (Gtk.TextIter iter, string category);
+               public bool forward_iter_to_source_mark (ref Gtk.TextIter iter, string category);
                public unowned string get_context_classes_at_iter (Gtk.TextIter iter);
                public bool get_highlight_matching_brackets ();
                public bool get_highlight_syntax ();
@@ -20,8 +20,8 @@ namespace Gtk {
                public unowned GLib.SList get_source_marks_at_line (int line, string category);
                public unowned Gtk.SourceStyleScheme get_style_scheme ();
                public unowned Gtk.SourceUndoManager get_undo_manager ();
-               public bool iter_backward_to_context_class_toggle (Gtk.TextIter iter, string context_class);
-               public bool iter_forward_to_context_class_toggle (Gtk.TextIter iter, string context_class);
+               public bool iter_backward_to_context_class_toggle (ref Gtk.TextIter iter, string 
context_class);
+               public bool iter_forward_to_context_class_toggle (ref Gtk.TextIter iter, string 
context_class);
                public bool iter_has_context_class (Gtk.TextIter iter, string context_class);
                public void remove_source_marks (Gtk.TextIter start, Gtk.TextIter end, string category);
                public void set_highlight_matching_brackets (bool highlight);
diff --git a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata 
b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
index e7ae2354a..85dcd10de 100644
--- a/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
+++ b/vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata
@@ -10,6 +10,10 @@ gtk_source_iter_forward_search.limit nullable="1"
 GtkSourceBuffer::redo has_emitter="1"
 GtkSourceBuffer::undo has_emitter="1"
 gtk_source_buffer_new.table nullable="1"
+gtk_source_buffer_backward_iter_to_source_mark.iter is_ref="1"
+gtk_source_buffer_forward_iter_to_source_mark.iter is_ref="1"
+gtk_source_buffer_iter_backward_to_context_class_toggle.iter is_ref="1"
+gtk_source_buffer_iter_forward_to_context_class_toggle.iter is_ref="1"
 GtkSourceCompletion::hide has_emitter="1"
 GtkSourceCompletion::show has_emitter="1"
 gtk_source_completion_create_context.position nullable="1" default_value="null"


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