[vala] gtk+-2.0, gtk+-3.0: TextBuffer.get_slice return value should be owned
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: TextBuffer.get_slice return value should be owned
- Date: Thu, 27 Jun 2013 18:33:53 +0000 (UTC)
commit d71aeba85776921ce739fe469e5b41286fc08a75
Author: Evan Nemerson <evan coeus-group com>
Date: Thu Jun 27 11:32:52 2013 -0700
gtk+-2.0, gtk+-3.0: TextBuffer.get_slice return value should be owned
vapi/gtk+-2.0.vapi | 2 +-
vapi/gtk+-3.0.vapi | 4 ++--
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 1 +
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 1 +
4 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 2c4da87..f267be0 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4375,7 +4375,7 @@ namespace Gtk {
public unowned Gtk.TextMark get_selection_bound ();
public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
public Gdk.Atom[] get_serialize_formats ();
- public unowned string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool
include_hidden_chars);
+ public 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 string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 4505b3b..1a70709 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1,4 +1,4 @@
-/* gtk+-3.0.vapi generated by lt-vapigen, do not modify. */
+/* gtk+-3.0.vapi generated by vapigen, do not modify. */
[CCode (gir_namespace = "Gtk", gir_version = "3.0")]
namespace Gtk {
@@ -4893,7 +4893,7 @@ namespace Gtk {
public unowned Gtk.TextMark get_selection_bound ();
public bool get_selection_bounds (out Gtk.TextIter start, out Gtk.TextIter end);
public Gdk.Atom[] get_serialize_formats ();
- public unowned string get_slice (Gtk.TextIter start, Gtk.TextIter end, bool
include_hidden_chars);
+ public 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 string get_text (Gtk.TextIter start, Gtk.TextIter end, bool include_hidden_chars);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 40c4f7f..a21a419 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -619,6 +619,7 @@ gtk_text_buffer_get_deserialize_formats is_array="1" transfer_ownership="1"
gtk_text_buffer_get_deserialize_formats.n_formats hidden="1"
gtk_text_buffer_get_serialize_formats is_array="1" transfer_ownership="1"
gtk_text_buffer_get_serialize_formats.n_formats hidden="1"
+gtk_text_buffer_get_slice transfer_ownership="1"
gtk_text_buffer_set_text.len default_value="-1"
gtk_text_child_anchor_get_widgets transfer_ownership="1" type_arguments="unowned Widget"
gtk_text_tag_new.name nullable="1" default_value="null"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 9e39a0a..3e7304c 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -789,6 +789,7 @@ gtk_text_buffer_get_deserialize_formats is_array="1" transfer_ownership="1"
gtk_text_buffer_get_deserialize_formats.n_formats hidden="1"
gtk_text_buffer_get_serialize_formats is_array="1" transfer_ownership="1"
gtk_text_buffer_get_serialize_formats.n_formats hidden="1"
+gtk_text_buffer_get_slice transfer_ownership="1"
gtk_text_buffer_set_text.len default_value="-1"
gtk_text_child_anchor_get_widgets transfer_ownership="1" type_arguments="unowned Widget"
GtkTextTag:background-gdk deprecated_since="3.4" replacement="background_rgba"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]