diff options
author | Benjamin Otte <otte@redhat.com> | 2014-06-10 01:04:55 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-06-10 01:07:57 +0200 |
commit | 3759190c2674aebd6b40ff5f337b155073ed5b78 (patch) | |
tree | 51d5a33d92df8b70cc010037a0cfe85a463419ed /gtk/gtkcssshadowsvalueprivate.h | |
parent | fc00381d306400977c7c83e564a7eb552cc8250d (diff) | |
download | gtk+-3759190c2674aebd6b40ff5f337b155073ed5b78.tar.gz |
css: Parse text-shadow values properly
We used to accept the same syntax for text-shadow and icon-shadow as
we accept for box-shadow. However, box-shadow does accept a spread and
the inset keyword while the others should not.
Diffstat (limited to 'gtk/gtkcssshadowsvalueprivate.h')
-rw-r--r-- | gtk/gtkcssshadowsvalueprivate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcssshadowsvalueprivate.h b/gtk/gtkcssshadowsvalueprivate.h index 5f2bdbbcdd..4713b86a16 100644 --- a/gtk/gtkcssshadowsvalueprivate.h +++ b/gtk/gtkcssshadowsvalueprivate.h @@ -31,7 +31,8 @@ G_BEGIN_DECLS GtkCssValue * _gtk_css_shadows_value_new_none (void); -GtkCssValue * _gtk_css_shadows_value_parse (GtkCssParser *parser); +GtkCssValue * _gtk_css_shadows_value_parse (GtkCssParser *parser, + gboolean box_shadow_mode); gboolean _gtk_css_shadows_value_is_none (const GtkCssValue *shadows); |