[vala/0.10] clutter-1.0: Fix LayoutManager.get_preferred_{height, width} bindings.



commit ec6ad62434c3dd15a69b78db7b2c16d4671a2a2a
Author: Evan Nemerson <evan coeus-group com>
Date:   Sat Oct 2 13:12:07 2010 -0700

    clutter-1.0: Fix LayoutManager.get_preferred_{height,width} bindings.
    
    Fixes bug 628036.

 vapi/clutter-1.0.vapi                          |    4 ++--
 vapi/packages/clutter-1.0/clutter-1.0.metadata |    4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi
index e73918d..0cb52a5 100644
--- a/vapi/clutter-1.0.vapi
+++ b/vapi/clutter-1.0.vapi
@@ -762,8 +762,8 @@ namespace Clutter {
 		public unowned Clutter.LayoutMeta get_child_meta (Clutter.Container container, Clutter.Actor actor);
 		[NoWrapper]
 		public virtual GLib.Type get_child_meta_type ();
-		public virtual void get_preferred_height (Clutter.Container container, float for_width, float min_height_p, float nat_height_p);
-		public virtual void get_preferred_width (Clutter.Container container, float for_height, float min_width_p, float nat_width_p);
+		public virtual void get_preferred_height (Clutter.Container container, float for_width, out float min_height_p, out float nat_height_p);
+		public virtual void get_preferred_width (Clutter.Container container, float for_height, out float min_width_p, out float nat_width_p);
 		public unowned Clutter.ParamSpecColor list_child_properties (uint n_pspecs);
 		public virtual void set_container (Clutter.Container container);
 		[HasEmitter]
diff --git a/vapi/packages/clutter-1.0/clutter-1.0.metadata b/vapi/packages/clutter-1.0/clutter-1.0.metadata
index 741d400..4750a77 100644
--- a/vapi/packages/clutter-1.0/clutter-1.0.metadata
+++ b/vapi/packages/clutter-1.0/clutter-1.0.metadata
@@ -247,6 +247,10 @@ ClutterKeyEvent is_value_type="1"
 ClutterKnot is_value_type="1"
 
 ClutterLayoutManager::layout_changed has_emitter="1"
+clutter_layout_manager_get_preferred_height.min_height_p is_out="1"
+clutter_layout_manager_get_preferred_height.nat_height_p is_out="1"
+clutter_layout_manager_get_preferred_width.min_width_p is_out="1"
+clutter_layout_manager_get_preferred_width.nat_width_p is_out="1"
 
 clutter_list_model_newv.n_columns hidden="1"
 clutter_list_model_newv.types array_length_pos="0.9"



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