]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Fix get_selection_bounds binding
authorMichal Hruby <michal.mhr@gmail.com>
Thu, 10 Mar 2011 21:39:46 +0000 (22:39 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 12 Mar 2011 15:08:01 +0000 (16:08 +0100)
Fixes bug 644158.

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

index 191388b5fa8b979db7c3ead521fb5b6f8b759327..1b3e92613822b5a0e0690bdeef92bc04ed779c65 100644 (file)
@@ -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);
index f4ede2c535ea71b66d671c6cf8b14da4993362ec..215630cef7997a4ebaec3188a37a4477f7009981 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"
 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"