symboliccolor: Parse 'currentColor' everywhere

This commit is contained in:
Benjamin Otte
2012-04-05 22:22:52 +02:00
parent 83be7e5dbd
commit 51da8cb263
5 changed files with 16 additions and 44 deletions

View File

@ -236,10 +236,7 @@ _gtk_css_shadow_value_parse (GtkCssParser *parser)
{
GtkSymbolicColor *symbolic;
if (_gtk_css_parser_try (parser, "currentcolor", TRUE))
symbolic = gtk_symbolic_color_ref (_gtk_symbolic_color_get_current_color ());
else
symbolic = _gtk_css_parser_read_symbolic_color (parser);
symbolic = _gtk_css_parser_read_symbolic_color (parser);
if (symbolic == NULL)
goto fail;