summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-05-01 02:27:23 +0200
committerBenjamin Otte <otte@redhat.com>2012-05-01 03:13:02 +0200
commit333a5b4307eca43786a2ffdafb216c542ec8db66 (patch)
tree4205f6360e00bad90197eb2730de54ee314730b4
parentb4195cb408ed59aa768423e382740f685cf15e60 (diff)
downloadgtk+-333a5b4307eca43786a2ffdafb216c542ec8db66.tar.gz
cssshadow: Default fallback color is transparent
... not the current color. Fixes unresolvable.ui test.
-rw-r--r--gtk/gtkcssshadowvalue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c
index 26985258a0..a2389f4e37 100644
--- a/gtk/gtkcssshadowvalue.c
+++ b/gtk/gtkcssshadowvalue.c
@@ -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);