[vala] gtk+-2.0, gtk+-3.0: Mark TextBuffer.insert_text.pos as ref parameter
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Mark TextBuffer.insert_text.pos as ref parameter
- Date: Tue, 8 Nov 2011 20:40:53 +0000 (UTC)
commit bdc4e7aa94ef8875103f6d8cc45e4875c440e9f5
Author: Luca Bruno <lucabru src gnome org>
Date: Tue Nov 8 21:38:17 2011 +0100
gtk+-2.0, gtk+-3.0: Mark TextBuffer.insert_text.pos as ref parameter
Based on patch by Lars Uebernickel.
Fixes bug 663621.
vapi/gtk+-2.0.vapi | 2 +-
vapi/gtk+-3.0.vapi | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 1 +
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 1 +
4 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 029806f..630e73f 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4424,7 +4424,7 @@ namespace Gtk {
public virtual signal void insert_child_anchor (Gtk.TextIter pos, Gtk.TextChildAnchor anchor);
[HasEmitter]
public virtual signal void insert_pixbuf (Gtk.TextIter pos, Gdk.Pixbuf pixbuf);
- public virtual signal void insert_text (Gtk.TextIter pos, string text, int length);
+ public virtual signal void insert_text (ref Gtk.TextIter pos, string text, int length);
public virtual signal void mark_deleted (Gtk.TextMark mark);
public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
public virtual signal void modified_changed ();
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index fb63f0d..08a744c 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -4353,7 +4353,7 @@ namespace Gtk {
public virtual signal void insert_child_anchor (Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
[HasEmitter]
public virtual signal void insert_pixbuf (Gtk.TextIter iter, Gdk.Pixbuf pixbuf);
- public virtual signal void insert_text (Gtk.TextIter pos, string new_text, int new_text_length);
+ public virtual signal void insert_text (ref Gtk.TextIter pos, string new_text, int new_text_length);
public virtual signal void mark_deleted (Gtk.TextMark mark);
public virtual signal void mark_set (Gtk.TextIter location, Gtk.TextMark mark);
public virtual signal void modified_changed ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index e3ec20b..afd0326 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -598,6 +598,7 @@ GtkTextBuffer::begin_user_action has_emitter="1"
GtkTextBuffer::end_user_action has_emitter="1"
GtkTextBuffer::insert_child_anchor has_emitter="1"
GtkTextBuffer::insert_pixbuf has_emitter="1"
+GtkTextBuffer::insert_text.pos is_ref="1"
GtkTextBuffer::remove_tag has_emitter="1"
GtkTextBuffer:text accessor_method="0"
gtk_text_buffer_create_mark.mark_name nullable="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 7cb36a2..f008194 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -668,6 +668,7 @@ GtkTextBuffer::begin_user_action has_emitter="1"
GtkTextBuffer::end_user_action has_emitter="1"
GtkTextBuffer::insert_child_anchor has_emitter="1"
GtkTextBuffer::insert_pixbuf has_emitter="1"
+GtkTextBuffer::insert_text.pos is_ref="1"
GtkTextBuffer::remove_tag has_emitter="1"
GtkTextBuffer:text accessor_method="0"
gtk_text_buffer_create_mark.mark_name nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]