[vala] gtk+-2.0, gtk+-3.0: Make Editable.insert_text.position be a ref parameter
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Make Editable.insert_text.position be a ref parameter
- Date: Thu, 22 Dec 2011 11:45:27 +0000 (UTC)
commit 0aafa14dd517edb8d9ef1bffb3c080d7f455dd81
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Dec 12 21:44:51 2011 +0200
gtk+-2.0, gtk+-3.0: Make Editable.insert_text.position be a ref parameter
Fixes bug 666021.
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 4df7165..4d2c380 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -6031,7 +6031,7 @@ namespace Gtk {
[HasEmitter]
public signal void delete_text (int start_pos, int end_pos);
[HasEmitter]
- public signal void insert_text (string text, int length, void* position);
+ public signal void insert_text (string text, int length, ref int position);
}
[CCode (cheader_filename = "gtk/gtk.h")]
public interface FileChooser : Gtk.Widget {
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index a2e1b6d..eb62cb0 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -6009,7 +6009,7 @@ namespace Gtk {
[HasEmitter]
public signal void delete_text (int start_pos, int end_pos);
[HasEmitter]
- public signal void insert_text (string new_text, int new_text_length, void* position);
+ public signal void insert_text (string new_text, int new_text_length, ref int position);
}
[CCode (cheader_filename = "gtk/gtk.h")]
public interface FileChooser : Gtk.Widget {
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index eff0083..22f5da9 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -173,6 +173,7 @@ GtkDialog.vbox type_name="VBox"
GtkDialog.action_area type_name="HButtonBox"
GtkEditable::delete_text has_emitter="1"
GtkEditable::insert_text has_emitter="1"
+GtkEditable::insert_text.position type_name="int" is_ref="1"
gtk_editable_get_selection_bounds.start_pos is_out="1"
gtk_editable_get_selection_bounds.end_pos is_out="1"
gtk_editable_select_region hidden="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index e45dcbc..8aba25a 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -212,6 +212,7 @@ GtkDialog.vbox type_name="VBox"
GtkDialog.action_area type_name="HButtonBox"
GtkEditable::delete_text has_emitter="1"
GtkEditable::insert_text has_emitter="1"
+GtkEditable::insert_text.position type_name="int" is_ref="1"
gtk_editable_get_selection_bounds.start_pos is_out="1"
gtk_editable_get_selection_bounds.end_pos is_out="1"
gtk_editable_select_region hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]