test/cairo-clock: Remove a double source color set

Do not call cairo_set_source_rgba() right after calling
clutter_cairo_set_source_color().
This commit is contained in:
Emmanuele Bassi 2011-07-27 11:48:07 +01:00
parent 468f121f59
commit 110dff5823

View File

@ -43,7 +43,6 @@ draw_clock (ClutterCairoTexture *canvas,
/* the minutes hand */ /* the minutes hand */
clutter_cairo_set_source_color (cr, CLUTTER_COLOR_DarkChameleon); 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_move_to (cr, 0, 0);
cairo_line_to (cr, sinf (minutes) * 0.4, -cosf (minutes) * 0.4); cairo_line_to (cr, sinf (minutes) * 0.4, -cosf (minutes) * 0.4);
cairo_stroke (cr); cairo_stroke (cr);