diff options
author | Benjamin Otte <otte@redhat.com> | 2015-01-19 17:41:29 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-01-20 06:30:19 +0100 |
commit | e697213b35e6fe2bf1bea6b6d51607c1a7241bc1 (patch) | |
tree | 0cca1a4426f4777c2b9b0239f4fbd57ba966b93c /gtk/gtkcssshadowsvalue.c | |
parent | cc4d34e6884b958505dfd888d9b53b4b39084581 (diff) | |
download | gtk+-e697213b35e6fe2bf1bea6b6d51607c1a7241bc1.tar.gz |
render: Remove spinner special-cases
The spinner is a regular builtin image now. There is no need to go
through the shadows code manually anymore as regular items do get
shadows automatically.
This also allows simplifying the actual spinner drawing code so that it
actually works.
Diffstat (limited to 'gtk/gtkcssshadowsvalue.c')
-rw-r--r-- | gtk/gtkcssshadowsvalue.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gtk/gtkcssshadowsvalue.c b/gtk/gtkcssshadowsvalue.c index 590fa24e22..f0bae5c793 100644 --- a/gtk/gtkcssshadowsvalue.c +++ b/gtk/gtkcssshadowsvalue.c @@ -282,22 +282,6 @@ _gtk_css_shadows_value_paint_icon (const GtkCssValue *shadows, } void -_gtk_css_shadows_value_paint_spinner (const GtkCssValue *shadows, - cairo_t *cr, - gdouble radius, - gdouble progress) -{ - guint i; - - g_return_if_fail (shadows->class == >K_CSS_VALUE_SHADOWS); - - for (i = 0; i < shadows->len; i++) - { - _gtk_css_shadow_value_paint_spinner (shadows->values[i], cr, radius, progress); - } -} - -void _gtk_css_shadows_value_paint_box (const GtkCssValue *shadows, cairo_t *cr, const GtkRoundedBox *padding_box, |