[gtk+/wip/otte/rendernode: 125/127] gsk: Remove spread member from GskShadow
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/rendernode: 125/127] gsk: Remove spread member from GskShadow
- Date: Wed, 21 Dec 2016 05:52:48 +0000 (UTC)
commit dc6e86ca84d980431d473104c5b9ca88eebe6bed
Author: Benjamin Otte <otte redhat com>
Date: Wed Dec 21 05:30:31 2016 +0100
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.
gsk/gskrendernode.h | 1 -
gtk/gtkcssshadowvalue.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h
index fad1e53..39c134a 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 bcb874d..5bbb315 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]