diff options
author | Benjamin Otte <otte@redhat.com> | 2012-05-01 02:27:23 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-05-01 03:13:02 +0200 |
commit | 333a5b4307eca43786a2ffdafb216c542ec8db66 (patch) | |
tree | 4205f6360e00bad90197eb2730de54ee314730b4 | |
parent | b4195cb408ed59aa768423e382740f685cf15e60 (diff) | |
download | gtk+-333a5b4307eca43786a2ffdafb216c542ec8db66.tar.gz |
cssshadow: Default fallback color is transparent
... not the current color. Fixes unresolvable.ui test.
-rw-r--r-- | gtk/gtkcssshadowvalue.c | 4 |
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); |