gsk: Remove spread member from GskShadow

I had originally thought I'd use GskShadow for box-shadow, but didn't in
the end.

So now it's only used for text-shadow and icon-shadow, and those don't
have a spread.
This commit is contained in:
Benjamin Otte 2016-12-21 05:30:31 +01:00
parent 5fa1733944
commit 3a38bc9bf7
2 changed files with 0 additions and 2 deletions

View File

@ -47,7 +47,6 @@ struct _GskShadow
GdkRGBA color;
float dx;
float dy;
float spread;
float radius;
};

View File

@ -631,7 +631,6 @@ gtk_css_shadow_value_get_shadow (const GtkCssValue *value,
shadow->color = *_gtk_css_rgba_value_get_rgba (value->color);
shadow->dx = _gtk_css_number_value_get (value->hoffset, 0);
shadow->dy = _gtk_css_number_value_get (value->voffset, 0);
shadow->spread = _gtk_css_number_value_get (value->spread, 0);
shadow->radius = _gtk_css_number_value_get (value->radius, 0);
}