[gtk+] shadow: add blur to icon-shadow (spinner)
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] shadow: add blur to icon-shadow (spinner)
- Date: Thu, 20 Sep 2012 00:47:37 +0000 (UTC)
commit 3377271ef00f02b95e48c7f473b6fba0a225ce2b
Author: Andrea Cimitan <andrea cimitan canonical com>
Date: Mon Apr 16 13:22:18 2012 +0100
shadow: add blur to icon-shadow (spinner)
gtk/gtkcssshadowvalue.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c
index ffa30bc..56ebe3a 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]