shadow: add blur to icon-shadow (spinner)

This commit is contained in:
Andrea Cimitan 2012-04-16 13:22:18 +01:00 committed by Benjamin Otte
parent 10e2684870
commit 3377271ef0

View File

@ -430,6 +430,8 @@ _gtk_css_shadow_value_paint_spinner (const GtkCssValue *shadow,
cairo_save (cr);
cr = gtk_css_shadow_value_start_drawing (shadow, cr);
cairo_translate (cr,
_gtk_css_number_value_get (shadow->hoffset, 0),
_gtk_css_number_value_get (shadow->voffset, 0));
@ -437,6 +439,8 @@ _gtk_css_shadow_value_paint_spinner (const GtkCssValue *shadow,
radius, progress,
_gtk_css_rgba_value_get_rgba (shadow->color));
cr = gtk_css_shadow_value_finish_drawing (shadow, cr);
cairo_restore (cr);
}