[vala] gtk+-3.0: Fix gtk_*_get_preferred_* bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Fix gtk_*_get_preferred_* bindings
- Date: Mon, 16 May 2011 10:57:27 +0000 (UTC)
commit ba4f8022d732ea41ea8c3171fe7a3faa8703b160
Author: Jürg Billeter <j bitron ch>
Date: Mon May 16 12:54:53 2011 +0200
gtk+-3.0: Fix gtk_*_get_preferred_* bindings
Fixes bug 650295.
vapi/gtk+-3.0.vapi | 18 +++++++++---------
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 18 +++++++++++++++++-
2 files changed, 26 insertions(+), 10 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 1111379..810e7fe 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -848,10 +848,10 @@ namespace Gtk {
public unowned Gtk.CellRenderer get_focus_cell ();
public unowned Gtk.CellRenderer get_focus_from_sibling (Gtk.CellRenderer renderer);
public unowned GLib.List get_focus_siblings (Gtk.CellRenderer renderer);
- public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, int minimum_height, int natural_height);
- public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, int minimum_height, int natural_height);
- public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, int minimum_width, int natural_width);
- public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, int minimum_width, int natural_width);
+ public virtual void get_preferred_height (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_height, out int natural_height);
+ public virtual void get_preferred_height_for_width (Gtk.CellAreaContext context, Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
+ public virtual void get_preferred_width (Gtk.CellAreaContext context, Gtk.Widget widget, out int minimum_width, out int natural_width);
+ public virtual void get_preferred_width_for_height (Gtk.CellAreaContext context, Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
public virtual Gtk.SizeRequestMode get_request_mode ();
public bool has_renderer (Gtk.CellRenderer renderer);
public void inner_cell_area (Gtk.Widget widget, Gdk.Rectangle cell_area, Gdk.Rectangle inner_area);
@@ -893,10 +893,10 @@ namespace Gtk {
public virtual void allocate (int width, int height);
public void get_allocation (int width, int height);
public unowned Gtk.CellArea get_area ();
- public 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_width (int minimum_width, int natural_width);
- public virtual void get_preferred_width_for_height (int height, int minimum_width, int natural_width);
+ public 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_width (out int minimum_width, out int natural_width);
+ public virtual void get_preferred_width_for_height (int height, out int minimum_width, out int natural_width);
public void push_preferred_height (int minimum_height, int natural_height);
public void push_preferred_width (int minimum_width, int natural_width);
public virtual void reset ();
@@ -5263,7 +5263,7 @@ namespace Gtk {
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 (out int minimum_width, out 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 ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 49d4618..793f621 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -106,6 +106,22 @@ GtkCell.u hidden="1"
GtkCellArea::apply_attributes has_emitter="1"
gtk_cell_area_box_pack_start hidden="1"
gtk_cell_area_box_pack_end hidden="1"
+gtk_cell_area_get_preferred_height.minimum_height is_out="1"
+gtk_cell_area_get_preferred_height.natural_height is_out="1"
+gtk_cell_area_get_preferred_height_for_width.minimum_height is_out="1"
+gtk_cell_area_get_preferred_height_for_width.natural_height is_out="1"
+gtk_cell_area_get_preferred_width.minimum_width is_out="1"
+gtk_cell_area_get_preferred_width.natural_width is_out="1"
+gtk_cell_area_get_preferred_width_for_height.minimum_width is_out="1"
+gtk_cell_area_get_preferred_width_for_height.natural_width is_out="1"
+gtk_cell_area_context_get_preferred_height.minimum_height is_out="1"
+gtk_cell_area_context_get_preferred_height.natural_height is_out="1"
+gtk_cell_area_context_get_preferred_height_for_width.minimum_height is_out="1"
+gtk_cell_area_context_get_preferred_height_for_width.natural_height is_out="1"
+gtk_cell_area_context_get_preferred_width.minimum_width is_out="1"
+gtk_cell_area_context_get_preferred_width.natural_width is_out="1"
+gtk_cell_area_context_get_preferred_width_for_height.minimum_width is_out="1"
+gtk_cell_area_context_get_preferred_width_for_height.natural_width is_out="1"
GtkCellEditable::editing_done has_emitter="1"
GtkCellEditable::remove_widget has_emitter="1"
gtk_cell_layout_get_cells transfer_ownership="1" type_arguments="unowned CellRenderer"
@@ -953,7 +969,7 @@ 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.natural_width 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]