[clutter] Fix width-for-height allocations



commit 7f9c3976a1b87d81e0f65f17437825eff5311974
Author: Emanuele Aina <emanuele aina collabora com>
Date:   Tue May 29 17:40:51 2012 +0200

    Fix width-for-height allocations
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677039

 clutter/clutter-actor.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
index ca563bd..5865d57 100644
--- a/clutter/clutter-actor.c
+++ b/clutter/clutter-actor.c
@@ -8621,9 +8621,9 @@ clutter_actor_adjust_allocation (ClutterActor    *self,
       clutter_actor_get_preferred_height (self, -1,
                                           &min_height,
                                           &nat_height);
-      clutter_actor_get_preferred_height (self, alloc_height,
-                                          &min_width,
-                                          &nat_width);
+      clutter_actor_get_preferred_width (self, alloc_height,
+                                         &min_width,
+                                         &nat_width);
     }
 
 #ifdef CLUTTER_ENABLE_DEBUG



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