forked from AuroraMiddleware/gtk
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:
parent
5fa1733944
commit
3a38bc9bf7
@ -47,7 +47,6 @@ struct _GskShadow
|
||||
GdkRGBA color;
|
||||
float dx;
|
||||
float dy;
|
||||
float spread;
|
||||
float radius;
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user