[vala] gtk+-3.0: Fix gtk_widget_get_preferred_* bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Fix gtk_widget_get_preferred_* bindings
- Date: Mon, 7 Feb 2011 22:15:13 +0000 (UTC)
commit 930bce8c15e2b5fa6f15c742ee784ecfc062084d
Author: Jürg Billeter <j bitron ch>
Date: Mon Feb 7 23:14:02 2011 +0100
gtk+-3.0: Fix gtk_widget_get_preferred_* bindings
vapi/gtk+-3.0.vapi | 10 +++++-----
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 10 ++++++++++
2 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index d5841b6..da86016 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -5298,11 +5298,11 @@ namespace Gtk {
public unowned Gdk.Window get_parent_window ();
public unowned Gtk.WidgetPath get_path ();
public void get_pointer (out int x, out int y);
- public virtual void get_preferred_height (int minimum_height, int natural_height);
- public virtual void get_preferred_height_for_width (int width, int minimum_height, int natural_height);
- public void get_preferred_size (Gtk.Requisition minimum_size, Gtk.Requisition natural_size);
- public virtual void get_preferred_width (int minimum_width, int natural_width);
- public virtual void get_preferred_width_for_height (int height, int minimum_width, int natural_width);
+ public virtual void get_preferred_height (out int minimum_height, out int natural_height);
+ public virtual void get_preferred_height_for_width (int width, out int minimum_height, out int natural_height);
+ public void get_preferred_size (out Gtk.Requisition minimum_size, out Gtk.Requisition natural_size);
+ public virtual void get_preferred_width (out int minimum_width, int natural_width);
+ public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
public bool get_realized ();
public bool get_receives_default ();
public virtual Gtk.SizeRequestMode get_request_mode ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 2549b3e..8ace60b 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -875,6 +875,16 @@ gtk_window_list_toplevels transfer_ownership="1" type_arguments="unowned Window"
gtk_window_set_default_icon_list.list type_arguments="Gdk.Pixbuf"
gtk_window_set_icon_list.list type_arguments="Gdk.Pixbuf"
gtk_window_new.type default_value="Gtk.WindowType.TOPLEVEL"
+gtk_widget_get_preferred_height.minimum_height is_out="1"
+gtk_widget_get_preferred_height.natural_height is_out="1"
+gtk_widget_get_preferred_height_for_width.minimum_height is_out="1"
+gtk_widget_get_preferred_height_for_width.natural_height is_out="1"
+gtk_widget_get_preferred_size.minimum_size is_out="1"
+gtk_widget_get_preferred_size.natural_size is_out="1"
+gtk_widget_get_preferred_width.minimum_width is_out="1"
+gtk_widget_get_preferred_width.natural_height is_out="1"
+gtk_widget_get_preferred_width_for_height.minimum_width is_out="1"
+gtk_widget_get_preferred_width_for_height.natural_width is_out="1"
gtk_widget_new hidden="1"
GtkWindow::activate_default name="default_activated" experimental="1"
GtkWindow::activate_focus name="focus_activated" experimental="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]