]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtksourceview-2.0: Fix iter parameter in SourceBuffer.backward/forward/... 83af5c8be996d258a2fa36c12214013c449c6d04 86/head
authorAlberto Fanjul <albertofanjul@gmail.com>
Tue, 29 Oct 2019 08:17:26 +0000 (09:17 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 29 Oct 2019 08:22:15 +0000 (09:22 +0100)
vapi/gtksourceview-2.0.vapi
vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata

index 1a6cd86ae0d49792c7e681bcb86bf95654ebc6ee..b71663096d0fc8ef2715b91d8daa118ad25cbd01 100644 (file)
@@ -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);
index e7ae2354a61501bf497f818faf510a80360b3641..85dcd10de5f33c564e7e7658b5b89c03a6972e67 100644 (file)
@@ -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"