Commit 333a5b43 authored by Benjamin Otte's avatar Benjamin Otte

cssshadow: Default fallback color is transparent

... not the current color. Fixes unresolvable.ui test.
parent b4195cb4
......@@ -272,12 +272,12 @@ GtkCssValue *
_gtk_css_shadow_value_compute (GtkCssValue *shadow,
GtkStyleContext *context)
{
GdkRGBA transparent = { 0, 0, 0, 0 };
GtkCssValue *color;
color = _gtk_css_rgba_value_compute_from_symbolic (shadow->color,
_gtk_css_symbolic_value_new_take_symbolic_color (
gtk_symbolic_color_ref (
_gtk_symbolic_color_get_current_color ())),
gtk_symbolic_color_new_literal (&transparent)),
context,
FALSE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment