[vala] gtk+-2.0, gtk+-3.0: Make gtk_entry_buffer_* string[] parameters be char[].
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Make gtk_entry_buffer_* string[] parameters be char[].
- Date: Mon, 20 Dec 2010 12:42:04 +0000 (UTC)
commit c2006f349bd008256f9f2ea408ae528897b4f1c5
Author: Luca Bruno <lucabru src gnome org>
Date: Mon Dec 20 13:40:16 2010 +0100
gtk+-2.0, gtk+-3.0: Make gtk_entry_buffer_* string[] parameters be char[].
Fixes bug 635628.
vapi/gtk+-2.0.vapi | 6 +++---
vapi/gtk+-3.0.vapi | 6 +++---
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 3 +++
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 3 +++
4 files changed, 12 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 05e1cd6..21e16d8 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1611,14 +1611,14 @@ namespace Gtk {
public EntryBuffer (uint8[] initial_chars);
public virtual uint delete_text (uint position, int n_chars);
public void emit_deleted_text (uint position, uint n_chars);
- public void emit_inserted_text (uint position, string[] chars);
+ public void emit_inserted_text (uint position, uint8[] chars);
public size_t get_bytes ();
public virtual uint get_length ();
public int get_max_length ();
public virtual unowned string get_text ();
- public virtual uint insert_text (uint position, string[] chars);
+ public virtual uint insert_text (uint position, uint8[] chars);
public void set_max_length (int max_length);
- public void set_text (string[] chars);
+ public void set_text (uint8[] chars);
public uint length { get; }
public int max_length { get; set; }
public string text { get; set; }
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index ae056b0..5e6c864 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1528,14 +1528,14 @@ namespace Gtk {
public EntryBuffer (uint8[] initial_chars);
public virtual uint delete_text (uint position, int n_chars);
public void emit_deleted_text (uint position, uint n_chars);
- public void emit_inserted_text (uint position, string[] chars);
+ public void emit_inserted_text (uint position, uint8[] chars);
public size_t get_bytes ();
public virtual uint get_length ();
public int get_max_length ();
public virtual unowned string get_text ();
- public virtual uint insert_text (uint position, string[] chars);
+ public virtual uint insert_text (uint position, uint8[] chars);
public void set_max_length (int max_length);
- public void set_text (string[] chars);
+ public void set_text (uint8[] chars);
public uint length { get; }
public int max_length { get; set; }
public string text { get; set; }
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index c628d02..a6beaa1 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -158,6 +158,9 @@ GtkEditable::insert_text has_emitter="1"
gtk_editable_select_region hidden="1"
gtk_editable_set_selection_bounds hidden="1"
gtk_entry_buffer_new.initial_chars type_name="uint8"
+gtk_entry_buffer_emit_inserted_text.chars type_name="uint8"
+gtk_entry_buffer_insert_text.chars type_name="uint8"
+gtk_entry_buffer_set_text.chars type_name="uint8"
GtkEntryCompletion::insert_prefix has_emitter="1"
gtk_entry_completion_set_model.model nullable="1"
gtk_entry_completion.func transfer_ownership="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index fae9bb5..3c0158d 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -159,6 +159,9 @@ GtkEditable::insert_text has_emitter="1"
gtk_editable_select_region hidden="1"
gtk_editable_set_selection_bounds hidden="1"
gtk_entry_buffer_new.initial_chars type_name="uint8"
+gtk_entry_buffer_emit_inserted_text.chars type_name="uint8"
+gtk_entry_buffer_insert_text.chars type_name="uint8"
+gtk_entry_buffer_set_text.chars type_name="uint8"
GtkEntryCompletion::insert_prefix has_emitter="1"
gtk_entry_completion_set_model.model nullable="1"
gtk_entry_completion.func transfer_ownership="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]