summaryrefslogtreecommitdiff
path: root/gtk/gtkcssshadowvalue.c
diff options
context:
space:
mode:
authorAndrea Cimitan <andrea.cimitan@canonical.com>2012-04-16 13:22:18 +0100
committerBenjamin Otte <otte@redhat.com>2012-09-20 02:45:42 +0200
commit3377271ef00f02b95e48c7f473b6fba0a225ce2b (patch)
tree8b0b1e762f049e8ed46dc16335b255d4d48042c7 /gtk/gtkcssshadowvalue.c
parent10e268487069e2ae7a52b48b0ddff4f556f7d875 (diff)
downloadgtk+-3377271ef00f02b95e48c7f473b6fba0a225ce2b.tar.gz
shadow: add blur to icon-shadow (spinner)
Diffstat (limited to 'gtk/gtkcssshadowvalue.c')
-rw-r--r--gtk/gtkcssshadowvalue.c4
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);
}