From cc8cd8392f109edeec073fcecab12443bbbaedd2 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Wed, 7 Jan 2009 12:08:43 +0000 Subject: [PATCH] [test-depth] Use a gint for width, not guint, when calculating -width/2 It was a fluke that this worked out due to how clutter_actor_set_depth internally converts the incorrect integer result to fixed point. --- tests/interactive/test-depth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/interactive/test-depth.c b/tests/interactive/test-depth.c index 02e5e8bce..34c024ede 100644 --- a/tests/interactive/test-depth.c +++ b/tests/interactive/test-depth.c @@ -26,7 +26,7 @@ raise_top (gpointer ignored) static ClutterActor * clone_box (ClutterTexture *original) { - guint width, height; + gint width, height; ClutterActor *group; ClutterActor *clone;