diff options
author | Benjamin Otte <otte@redhat.com> | 2012-11-08 17:33:53 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-11-08 23:34:29 +0100 |
commit | 598f86eaf3e64ded7a9591ae9d5727a5b73d722b (patch) | |
tree | 186f2e78b660f023e8f86775a0ccaf469d173b0f /gtk/gtkcssshadowvalue.c | |
parent | 3cb6ae3df3980e3f5e5ce322e6cb70e5279d4c50 (diff) | |
download | gtk+-598f86eaf3e64ded7a9591ae9d5727a5b73d722b.tar.gz |
cssvalue: Convert shadows to GtkCssColorValue
Diffstat (limited to 'gtk/gtkcssshadowvalue.c')
-rw-r--r-- | gtk/gtkcssshadowvalue.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c index 40dd3a024b..618288807a 100644 --- a/gtk/gtkcssshadowvalue.c +++ b/gtk/gtkcssshadowvalue.c @@ -22,10 +22,10 @@ #include "gtkcssshadowvalueprivate.h" #include "gtkcairoblurprivate.h" +#include "gtkcsscolorvalueprivate.h" #include "gtkcssnumbervalueprivate.h" #include "gtkcssrgbavalueprivate.h" #include "gtkstylecontextprivate.h" -#include "gtksymboliccolorprivate.h" #include "gtkthemingengineprivate.h" #include "gtkpango.h" @@ -271,7 +271,7 @@ _gtk_css_shadow_value_parse (GtkCssParser *parser) } else if (values[COLOR] == NULL) { - values[COLOR] = _gtk_css_symbolic_value_new (parser); + values[COLOR] = _gtk_css_color_value_parse (parser); if (values[COLOR] == NULL) goto fail; @@ -287,9 +287,7 @@ _gtk_css_shadow_value_parse (GtkCssParser *parser) while (values[HOFFSET] == NULL || !value_is_done_parsing (parser)); if (values[COLOR] == NULL) - values[COLOR] = _gtk_css_symbolic_value_new_take_symbolic_color ( - gtk_symbolic_color_ref ( - _gtk_symbolic_color_get_current_color ())); + values[COLOR] = _gtk_css_color_value_new_current_color (); return gtk_css_shadow_value_new (values[HOFFSET], values[VOFFSET], values[RADIUS], values[SPREAD], |