mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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:
parent
468f121f59
commit
110dff5823
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user