From 93e81ddb692c4f554a4ffccba3bcbdb5abe7f432 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Sat, 26 Feb 2011 13:56:08 +0100 Subject: [PATCH] gtk+-3.0: Fix gtk_widget_adjust_size_* bindings --- vapi/gtk+-3.0.vapi | 4 ++-- vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index eb7c66d9..734c030f 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -5245,9 +5245,9 @@ namespace Gtk { public void add_events (int events); public void add_mnemonic_label (Gtk.Widget label); [NoWrapper] - public virtual void adjust_size_allocation (Gtk.Orientation orientation, int minimum_size, int natural_size, int allocated_pos, int allocated_size); + public virtual void adjust_size_allocation (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size, ref int allocated_pos, ref int allocated_size); [NoWrapper] - public virtual void adjust_size_request (Gtk.Orientation orientation, int minimum_size, int natural_size); + public virtual void adjust_size_request (Gtk.Orientation orientation, ref int minimum_size, ref int natural_size); public bool child_focus (Gtk.DirectionType direction); public void class_path (out uint path_length, out unowned string path, out unowned string path_reversed); public virtual void compute_expand (Gtk.Orientation orientation); diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index f2e62d7b..d5f0a73b 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -809,6 +809,12 @@ gtk_viewport_new.hadjustment nullable="1" gtk_viewport_new.vadjustment nullable="1" gtk_vscale_new.adjustment nullable="1" gtk_vscrollbar_new.adjustment nullable="1" +gtk_widget_adjust_size_allocation.minimum_size is_ref="1" +gtk_widget_adjust_size_allocation.natural_size is_ref="1" +gtk_widget_adjust_size_allocation.allocated_pos is_ref="1" +gtk_widget_adjust_size_allocation.allocated_size is_ref="1" +gtk_widget_adjust_size_request.minimum_size is_ref="1" +gtk_widget_adjust_size_request.natural_size is_ref="1" GtkWidget::can_activate_accel has_emitter="1" GtkWidget:can-focus accessor_method="0" gtk_widget_class_path.path_length is_out="1" -- 2.11.4.GIT