[vala] gtk+-2.0, gtk+-3.0: Mark *_get_layout_offsets parameters to be out



commit f914a5b7ed81b6eeb38deee3c922dda3fa404c43
Author: Daniel Svensson <dsvensson gmail com>
Date:   Sat Apr 23 17:45:21 2011 +0200

    gtk+-2.0, gtk+-3.0: Mark *_get_layout_offsets parameters to be out
    
    Fixes bug 648540.

 vapi/gtk+-2.0.vapi                       |    6 +++---
 vapi/gtk+-3.0.vapi                       |    6 +++---
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    6 ++++++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    6 ++++++
 4 files changed, 18 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 13a8521..7301eb7 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1482,7 +1482,7 @@ namespace Gtk {
 		public unowned Gtk.Border get_inner_border ();
 		public unichar get_invisible_char ();
 		public unowned Pango.Layout get_layout ();
-		public void get_layout_offsets (int x, int y);
+		public void get_layout_offsets (out int x, out int y);
 		public int get_max_length ();
 		public bool get_overwrite_mode ();
 		public double get_progress_fraction ();
@@ -2403,7 +2403,7 @@ namespace Gtk {
 		public Gtk.Justification get_justify ();
 		public unowned string get_label ();
 		public unowned Pango.Layout get_layout ();
-		public void get_layout_offsets (int x, int y);
+		public void get_layout_offsets (out int x, out int y);
 		public bool get_line_wrap ();
 		public Pango.WrapMode get_line_wrap_mode ();
 		public int get_max_width_chars ();
@@ -3597,7 +3597,7 @@ namespace Gtk {
 		public int get_digits ();
 		public bool get_draw_value ();
 		public unowned Pango.Layout get_layout ();
-		public virtual void get_layout_offsets (int x, int y);
+		public virtual void get_layout_offsets (out int x, out int y);
 		public Gtk.PositionType get_value_pos ();
 		public void set_digits (int digits);
 		public void set_draw_value (bool draw_value);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index a7314ac..df54447 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1583,7 +1583,7 @@ namespace Gtk {
 		public unowned Gtk.Border get_inner_border ();
 		public unichar get_invisible_char ();
 		public unowned Pango.Layout get_layout ();
-		public void get_layout_offsets (int x, int y);
+		public void get_layout_offsets (out int x, out int y);
 		public int get_max_length ();
 		public bool get_overwrite_mode ();
 		public double get_progress_fraction ();
@@ -2385,7 +2385,7 @@ namespace Gtk {
 		public Gtk.Justification get_justify ();
 		public unowned string get_label ();
 		public unowned Pango.Layout get_layout ();
-		public void get_layout_offsets (int x, int y);
+		public void get_layout_offsets (out int x, out int y);
 		public bool get_line_wrap ();
 		public Pango.WrapMode get_line_wrap_mode ();
 		public int get_max_width_chars ();
@@ -3398,7 +3398,7 @@ namespace Gtk {
 		public int get_digits ();
 		public bool get_draw_value ();
 		public unowned Pango.Layout get_layout ();
-		public virtual void get_layout_offsets (int x, int y);
+		public virtual void get_layout_offsets (out int x, out int y);
 		public Gtk.PositionType get_value_pos ();
 		public void set_digits (int digits);
 		public void set_draw_value (bool draw_value);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 5730dac..6ecb1ee 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -185,6 +185,8 @@ gtk_entry_completion.func_notify hidden="1"
 gtk_entry_completion_set_match_func.func transfer_ownership="1"
 gtk_entry_completion_set_match_func.func_data hidden="1"
 gtk_entry_completion_set_match_func.func_notify hidden="1"
+gtk_entry_get_layout_offsets.x is_out="1"
+gtk_entry_get_layout_offsets.y is_out="1"
 gtk_entry_set_icon_from_pixbuf.pixbuf nullable="1"
 gtk_entry_set_icon_from_stock.stock_id nullable="1"
 gtk_entry_set_icon_from_icon_name.icon_name nullable="1"
@@ -276,6 +278,8 @@ GtkItem::select has_emitter="1"
 GtkItem::toggle has_emitter="1"
 GtkLabel.text hidden="1"
 gtk_label_new.str nullable="1"
+gtk_label_get_layout_offsets.x is_out="1"
+gtk_label_get_layout_offsets.y is_out="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"
@@ -500,6 +504,8 @@ gtk_scale_add_mark.markup nullable="1"
 gtk_scale_button_new.icons is_array="1" no_array_length="1"
 gtk_scale_button_set_icons.icons is_array="1" no_array_length="1"
 gtk_scale_draw_value hidden="1"
+gtk_scale_get_layout_offsets.x is_out="1"
+gtk_scale_get_layout_offsets.y is_out="1"
 GtkScale::format_value transfer_ownership="1"
 gtk_scrolled_window_new.hadjustment nullable="1"
 gtk_scrolled_window_new.vadjustment nullable="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 84af61d..6109d4b 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -199,6 +199,8 @@ gtk_entry_completion.func_notify hidden="1"
 gtk_entry_completion_set_match_func.func transfer_ownership="1"
 gtk_entry_completion_set_match_func.func_data hidden="1"
 gtk_entry_completion_set_match_func.func_notify hidden="1"
+gtk_entry_get_layout_offsets.x is_out="1"
+gtk_entry_get_layout_offsets.y is_out="1"
 gtk_entry_set_icon_from_pixbuf.pixbuf nullable="1"
 gtk_entry_set_icon_from_stock.stock_id nullable="1"
 gtk_entry_set_icon_from_icon_name.icon_name nullable="1"
@@ -290,6 +292,8 @@ GtkItem::select has_emitter="1"
 GtkItem::toggle has_emitter="1"
 GtkLabel.text hidden="1"
 gtk_label_new.str nullable="1"
+gtk_label_get_layout_offsets.x is_out="1"
+gtk_label_get_layout_offsets.y is_out="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"
@@ -512,6 +516,8 @@ gtk_scale_add_mark.markup nullable="1"
 gtk_scale_button_new.icons is_array="1" no_array_length="1"
 gtk_scale_button_set_icons.icons is_array="1" no_array_length="1"
 gtk_scale_draw_value hidden="1"
+gtk_scale_get_layout_offsets.x is_out="1"
+gtk_scale_get_layout_offsets.y is_out="1"
 GtkScale::format_value transfer_ownership="1"
 gtk_scrolled_window_new.hadjustment nullable="1"
 gtk_scrolled_window_new.vadjustment nullable="1"



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