[clutter/clutter-1.18] stage: Use the correct types for debug note



commit aa5a4e9e3c1cbeeb6658b0f33788487bc6867187
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Mar 11 22:50:04 2014 +0000

    stage: Use the correct types for debug note

 clutter/clutter-stage.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c
index 9526e7c..6825f32 100644
--- a/clutter/clutter-stage.c
+++ b/clutter/clutter-stage.c
@@ -446,11 +446,10 @@ clutter_stage_allocate (ClutterActor           *self,
       override.y2 = window_size.height;
 
       CLUTTER_NOTE (LAYOUT,
-                    "Overriding original allocation of %dx%d "
+                    "Overriding original allocation of %.2fx%.2f "
                     "with %.2fx%.2f (absolute origin %s)",
                     width, height,
-                    (int) (override.x2),
-                    (int) (override.y2),
+                    override.x2, override.y2,
                     (flags & CLUTTER_ABSOLUTE_ORIGIN_CHANGED)
                       ? "changed"
                       : "not changed");


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