[vala] gtk+-2.0, gtk+-3.0: transfer ownership of TextBuffer.get_text return
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: transfer ownership of TextBuffer.get_text return
- Date: Mon, 4 Oct 2010 02:03:04 +0000 (UTC)
commit a95f05c42519bbd6ffd4fda1e274504b31dbb48b
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 34a9332..21c2798 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4370,7 +4370,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 db1d860..d94686d 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3909,7 +3909,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 c58701b..a32211b 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -555,6 +555,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 c641303..0652cb0 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -557,6 +557,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]