From fa4a37072ed3113862802b1a97be6dfb74abcdd2 Mon Sep 17 00:00:00 2001 From: Haakon Sporsheim Date: Tue, 31 Mar 2009 14:43:12 +0200 Subject: [PATCH] Add white_color a variable on the stack. --- tests/interactive/test-scale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/interactive/test-scale.c b/tests/interactive/test-scale.c index cf2a14552..5496f3625 100644 --- a/tests/interactive/test-scale.c +++ b/tests/interactive/test-scale.c @@ -51,6 +51,7 @@ test_scale_main (int argc, char *argv[]) ClutterActor *stage, *rect; ClutterColor stage_color = { 0x0, 0x0, 0x0, 0xff }; ClutterColor rect_color = { 0xff, 0xff, 0xff, 0x99 }; + ClutterColor white_color = { 0xff, 0xff, 0xff, 0xFF }; ClutterTimeline *timeline; ClutterAlpha *alpha; ClutterBehaviour *behave; @@ -70,7 +71,7 @@ test_scale_main (int argc, char *argv[]) label = clutter_text_new_with_text ("Sans 20px", ""); clutter_text_set_color (CLUTTER_TEXT (label), - &(ClutterColor) { 0xff, 0xff, 0xff, 0xff }); + &white_color); clutter_actor_set_position (label, clutter_actor_get_x (rect), clutter_actor_get_y (rect)