diff options
author | Andrea Cimitan <andrea.cimitan@canonical.com> | 2012-04-16 13:22:18 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-09-20 02:45:42 +0200 |
commit | 3377271ef00f02b95e48c7f473b6fba0a225ce2b (patch) | |
tree | 8b0b1e762f049e8ed46dc16335b255d4d48042c7 /gtk/gtkcssshadowvalue.c | |
parent | 10e268487069e2ae7a52b48b0ddff4f556f7d875 (diff) | |
download | gtk+-3377271ef00f02b95e48c7f473b6fba0a225ce2b.tar.gz |
shadow: add blur to icon-shadow (spinner)
Diffstat (limited to 'gtk/gtkcssshadowvalue.c')
-rw-r--r-- | gtk/gtkcssshadowvalue.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c index ffa30bcf71..56ebe3af1b 100644 --- a/gtk/gtkcssshadowvalue.c +++ b/gtk/gtkcssshadowvalue.c @@ -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); } |