[vala/0.10] gtk+-2.0, gtk+-3.0: transfer ownership of TextBuffer.get_text return



commit 5491cd60c8ddb6161df1d219625ee0550c43c442
Author: Rob Powell <rob yorba org>
Date:   Sun Oct 3 19:00:00 2010 -0700

    gtk+-2.0, gtk+-3.0: transfer ownership of TextBuffer.get_text return
    
    Fixes bug 630741.

 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 b56d1da..3175d39 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4149,7 +4149,7 @@ namespace Gtk {
 		public unowned string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
 		public void get_start_iter (out Gtk.TextIter iter);
 		public unowned Gtk.TextTagTable get_tag_table ();
-		public unowned string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
+		public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
 		public void insert (Gtk.TextIter iter, string text, int len);
 		public void insert_at_cursor (string text, int len);
 		public bool insert_interactive (Gtk.TextIter iter, string text, int len, bool default_editable);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index cd40e8b..af6bcec 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3741,7 +3741,7 @@ namespace Gtk {
 		public unowned string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
 		public void get_start_iter (out Gtk.TextIter iter);
 		public unowned Gtk.TextTagTable get_tag_table ();
-		public unowned string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
+		public string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
 		public void insert (Gtk.TextIter iter, string text, int len);
 		public void insert_at_cursor (string text, int len);
 		public bool insert_interactive (Gtk.TextIter iter, string text, int len, bool default_editable);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 1764c58..cd1e918 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -551,6 +551,7 @@ gtk_text_buffer_register_deserialize_format.user_data_destroy hidden="1"
 gtk_text_buffer_register_serialize_format.function transfer_ownership="1"
 gtk_text_buffer_register_serialize_format.user_data_destroy hidden="1"
 gtk_text_buffer_new.table nullable="1"
+gtk_text_buffer_get_text transfer_ownership="1"
 GtkTextBufferDeserializeFunc.user_data hidden="1"
 GtkTextBufferDeserializeFunc has_target="1"
 GtkTextIter is_value_type="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index ccd0901..51f9306 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -554,6 +554,7 @@ gtk_text_buffer_register_deserialize_format.user_data_destroy hidden="1"
 gtk_text_buffer_register_serialize_format.function transfer_ownership="1"
 gtk_text_buffer_register_serialize_format.user_data_destroy hidden="1"
 gtk_text_buffer_new.table nullable="1"
+gtk_text_buffer_get_text transfer_ownership="1"
 GtkTextBufferDeserializeFunc.user_data hidden="1"
 GtkTextBufferDeserializeFunc has_target="1"
 GtkTextIter is_value_type="1"



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