[clutter] test/cairo-clock: Remove a double source color set
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] test/cairo-clock: Remove a double source color set
- Date: Wed, 27 Jul 2011 10:49:06 +0000 (UTC)
commit 110dff5823f56226103cdf5799a6a0b2d7ab3b9b
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Wed Jul 27 11:48:07 2011 +0100
test/cairo-clock: Remove a double source color set
Do not call cairo_set_source_rgba() right after calling
clutter_cairo_set_source_color().
tests/interactive/test-cairo-clock.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/tests/interactive/test-cairo-clock.c b/tests/interactive/test-cairo-clock.c
index f847e7a..6c292d0 100644
--- a/tests/interactive/test-cairo-clock.c
+++ b/tests/interactive/test-cairo-clock.c
@@ -43,7 +43,6 @@ draw_clock (ClutterCairoTexture *canvas,
/* the minutes hand */
clutter_cairo_set_source_color (cr, CLUTTER_COLOR_DarkChameleon);
- cairo_set_source_rgba (cr, 0.2, 0.2, 1, 0.6);
cairo_move_to (cr, 0, 0);
cairo_line_to (cr, sinf (minutes) * 0.4, -cosf (minutes) * 0.4);
cairo_stroke (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]