[vala] gtk+-2.0, gtk+-3.0: Mark Range.get_slider_range parameters to be out



commit a6605b68e80df6ec6b66a36ee26b2681575f6090
Author: Daniel Svensson <dsvensson gmail com>
Date:   Sat Apr 23 12:26:31 2011 +0200

    gtk+-2.0, gtk+-3.0: Mark Range.get_slider_range parameters to be out
    
    Fixes bug 648503.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    6 +++---
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 ++
 4 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 889232b..13a8521 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -3342,7 +3342,7 @@ namespace Gtk {
 		public void get_range_rect (Gdk.Rectangle range_rect);
 		public bool get_restrict_to_fill_level ();
 		public bool get_show_fill_level ();
-		public void get_slider_range (int slider_start, int slider_end);
+		public void get_slider_range (out int slider_start, out int slider_end);
 		public bool get_slider_size_fixed ();
 		public Gtk.UpdateType get_update_policy ();
 		public Gtk.SensitivityType get_upper_stepper_sensitivity ();
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 7c37e8f..a7314ac 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3184,7 +3184,7 @@ namespace Gtk {
 		public bool get_restrict_to_fill_level ();
 		public int get_round_digits ();
 		public bool get_show_fill_level ();
-		public void get_slider_range (int slider_start, int slider_end);
+		public void get_slider_range (out int slider_start, out int slider_end);
 		public bool get_slider_size_fixed ();
 		public Gtk.SensitivityType get_upper_stepper_sensitivity ();
 		public double get_value ();
@@ -7141,9 +7141,9 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public delegate int RecentSortFunc (Gtk.RecentInfo a, Gtk.RecentInfo b);
 	[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
-	public delegate bool StylePropertyParser (string str, GLib.Value value, GLib.Error error);
+	public delegate bool StylePropertyParser (string str, GLib.Value value) throws GLib.Error;
 	[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 5.9)]
-	public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data, bool create_tags, GLib.Error error);
+	public delegate bool TextBufferDeserializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter iter, [CCode (array_length_type = "gsize")] uint8[] data, bool create_tags) throws GLib.Error;
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public delegate uchar TextBufferSerializeFunc (Gtk.TextBuffer register_buffer, Gtk.TextBuffer content_buffer, Gtk.TextIter start, Gtk.TextIter end, size_t length);
 	[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index e2df5f4..5730dac 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -461,6 +461,8 @@ gtk_radio_tool_button_get_group type_arguments="RadioToolButton"
 gtk_radio_tool_button_new.group nullable="1" type_arguments="RadioToolButton"
 gtk_radio_tool_button_new_from_stock.group nullable="1" type_arguments="RadioToolButton"
 gtk_radio_tool_button_set_group.group type_arguments="RadioToolButton"
+gtk_range_get_slider_range.slider_start is_out="1"
+gtk_range_get_slider_range.slider_end is_out="1"
 gtk_recent_chooser_set_sort_func.sort_func transfer_ownership="1"
 gtk_recent_chooser_set_sort_func.sort_data hidden="1"
 gtk_recent_chooser_set_sort_func.data_destroy 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 d23f61a..84af61d 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -473,6 +473,8 @@ gtk_radio_tool_button_get_group type_arguments="RadioToolButton"
 gtk_radio_tool_button_new.group nullable="1" type_arguments="RadioToolButton"
 gtk_radio_tool_button_new_from_stock.group nullable="1" type_arguments="RadioToolButton"
 gtk_radio_tool_button_set_group.group type_arguments="RadioToolButton"
+gtk_range_get_slider_range.slider_start is_out="1"
+gtk_range_get_slider_range.slider_end is_out="1"
 gtk_recent_chooser_set_sort_func.sort_func transfer_ownership="1"
 gtk_recent_chooser_set_sort_func.sort_data hidden="1"
 gtk_recent_chooser_set_sort_func.data_destroy hidden="1"



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