summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-21 05:30:31 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-23 08:11:00 +0100
commit3a38bc9bf76cdc9f683a839c8671e7281b6d5698 (patch)
tree709b62ed051172b3e8c31b12e6cf00cb116099ac
parent5fa17339449409bf97b5e658c8a0436e9c1eafe4 (diff)
downloadgtk+-3a38bc9bf76cdc9f683a839c8671e7281b6d5698.tar.gz
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.
-rw-r--r--gsk/gskrendernode.h1
-rw-r--r--gtk/gtkcssshadowvalue.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h
index fad1e53c29..39c134a963 100644
--- a/gsk/gskrendernode.h
+++ b/gsk/gskrendernode.h
@@ -47,7 +47,6 @@ struct _GskShadow
GdkRGBA color;
float dx;
float dy;
- float spread;
float radius;
};
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c
index bcb874db98..5bbb315e41 100644
--- a/gtk/gtkcssshadowvalue.c
+++ b/gtk/gtkcssshadowvalue.c
@@ -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);
}