[vala/staging] gtk+-3.0: Fix EntryBuffer.text
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gtk+-3.0: Fix EntryBuffer.text
- Date: Fri, 8 Dec 2017 17:19:16 +0000 (UTC)
commit d7af80d583062f24f5bf789cba802aa2fc163737
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Dec 8 18:16:15 2017 +0100
gtk+-3.0: Fix EntryBuffer.text
vapi/gtk+-3.0.vapi | 8 +++++---
vapi/metadata/Gtk-3.0.metadata | 3 +--
2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 4c2a87e..2ce07ef 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2774,8 +2774,11 @@ namespace Gtk {
public virtual uint get_length ();
[Version (since = "2.18")]
public int get_max_length ();
+ [Version (since = "2.18")]
+ public unowned string get_text ();
+ [CCode (vfunc_name = "get_text")]
[NoWrapper]
- public virtual unowned string get_text (out size_t n_bytes = null);
+ public virtual unowned string get_text_internal (out size_t n_bytes = null);
[Version (since = "2.18")]
public virtual uint insert_text (uint position, [CCode (array_length_cname = "n_chars",
array_length_pos = 2.1, array_length_type = "guint", type = "const gchar*")] uint8[] chars);
[Version (since = "2.18")]
@@ -2786,9 +2789,8 @@ namespace Gtk {
public uint length { get; }
[Version (since = "2.18")]
public int max_length { get; set; }
- [NoAccessorMethod]
[Version (since = "2.18")]
- public string text { owned get; set; }
+ public string text { get; set; }
[Version (since = "2.18")]
public virtual signal void deleted_text (uint position, uint n_chars);
[Version (since = "2.18")]
diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata
index 36eb824..ca96273 100644
--- a/vapi/metadata/Gtk-3.0.metadata
+++ b/vapi/metadata/Gtk-3.0.metadata
@@ -32,6 +32,7 @@ Entry
.get_frame_size.* out
.get_text_area_size.* out
EntryBuffer
+ .get_text#virtual_method name="get_text_internal"
.get_text#virtual_method.n_bytes out default=null
Range
.get_range_border.* out
@@ -361,8 +362,6 @@ IMContextSimple
Container
.forall#virtual_method skip
.set_focus_child skip
-EntryBuffer
- .get_text#method skip
EntryCompletion
.insert_prefix#method name="request_prefix_insertion"
Notebook
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]