summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Svensson <dsvensson@gmail.com>2011-04-23 17:45:21 +0200
committerJürg Billeter <j@bitron.ch>2011-05-29 11:06:47 +0200
commit623831b7713118bdea79722c82aa0f6ad9d406df (patch)
treec432aa8c0d37a832641d76e75b5a1321f4ca7b4e
parent2ec000d76e09718e4bc5fa36d5602601cd823363 (diff)
downloadvala-623831b7713118bdea79722c82aa0f6ad9d406df.tar.gz
gtk+-2.0, gtk+-3.0: Mark *_get_layout_offsets parameters to be out
Fixes bug 648540.
-rw-r--r--vapi/gtk+-2.0.vapi6
-rw-r--r--vapi/gtk+-3.0.vapi6
-rw-r--r--vapi/packages/gtk+-2.0/gtk+-2.0.metadata6
-rw-r--r--vapi/packages/gtk+-3.0/gtk+-3.0.metadata6
4 files changed, 18 insertions, 6 deletions
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 5c20d0cd1..0812bff27 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 a7314ac3d..df5444707 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 5730dac91..6ecb1eed2 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 84af61d30..6109d4bfb 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"