]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0, gtk+-3.0: Fix get_selection_bounds binding
authorMichal Hruby <michal.mhr@gmail.com>
Thu, 10 Mar 2011 21:39:46 +0000 (22:39 +0100)
committerMichal Hruby <michal.mhr@gmail.com>
Thu, 10 Mar 2011 21:39:46 +0000 (22:39 +0100)
Fixes bug 644158.

vapi/gtk+-2.0.vapi
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 9bf0d1c0d6cb0802c3e9d1ae98e2c38f76f6efd7..a0116f573049bff1a168b1f905964a3125151cd2 100644 (file)
@@ -2408,7 +2408,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 ();
@@ -6009,7 +6009,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);
index 30c8d05370ff07779520088858d4a4be88606c1d..e64ad6f27940227c4806c555d093be70e30105ed 100644 (file)
@@ -2421,7 +2421,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 ();
@@ -5832,7 +5832,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);
index 3f882bfcb214790c0531971b1a22e710d068f410..e5a9b76979a9479eb90cb4664d981519a7b334a3 100644 (file)
@@ -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"
 gtk_entry_buffer_new.initial_chars type_name="uint8"
@@ -266,6 +268,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"
index 674354cb47858ca0b5c8820c566df9e9d71beecf..0cacc3d9f20037d78a232349b0bb5e58734c0f7b 100644 (file)
@@ -175,6 +175,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"
 gtk_entry_buffer_new.initial_chars type_name="uint8"
@@ -280,6 +282,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"