[vala/0.10] gtk+-2.0: Fix get_selection_bounds binding



commit ae6a0e863f1193fe173302bfd10e9545d34bfc50
Author: Michal Hruby <michal mhr gmail com>
Date:   Thu Mar 10 22:39:46 2011 +0100

    gtk+-2.0: Fix get_selection_bounds binding
    
    Fixes bug 644158.

 vapi/gtk+-2.0.vapi                       |    4 ++--
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 191388b..1b3e926 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -2187,7 +2187,7 @@ namespace Gtk {
 		public uint get_mnemonic_keyval ();
 		public unowned Gtk.Widget get_mnemonic_widget ();
 		public bool get_selectable ();
-		public bool get_selection_bounds (int start, int end);
+		public bool get_selection_bounds (out int start, out int end);
 		public bool get_single_line_mode ();
 		public unowned string get_text ();
 		public bool get_track_visited_links ();
@@ -5788,7 +5788,7 @@ namespace Gtk {
 		public abstract unowned string get_chars (int start_pos, int end_pos);
 		public bool get_editable ();
 		public abstract int get_position ();
-		public abstract bool get_selection_bounds (int start_pos, int end_pos);
+		public abstract bool get_selection_bounds (out int start_pos, out int end_pos);
 		public void paste_clipboard ();
 		[CCode (vfunc_name = "set_selection_bounds")]
 		public abstract void select_region (int start_pos, int end_pos);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index f4ede2c..215630c 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -161,6 +161,8 @@ GtkDialog.vbox type_name="VBox"
 GtkDialog.action_area type_name="HButtonBox"
 GtkEditable::delete_text has_emitter="1"
 GtkEditable::insert_text has_emitter="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"
 gtk_editable_set_selection_bounds hidden="1"
 GtkEntryCompletion::insert_prefix has_emitter="1"
@@ -262,6 +264,8 @@ GtkItem::select has_emitter="1"
 GtkItem::toggle has_emitter="1"
 GtkLabel.text hidden="1"
 gtk_label_new.str nullable="1"
+gtk_label_get_selection_bounds.start is_out="1"
+gtk_label_get_selection_bounds.end is_out="1"
 GtkList::select_child has_emitter="1"
 GtkList::unselect_child has_emitter="1"
 GtkLayout.children type_arguments="Widget"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]