diff options
author | Timm Bäder <mail@baedert.org> | 2019-08-17 19:53:32 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-09-09 17:36:23 +0200 |
commit | ad1340cab44a1c70b6045b115e7852f9e625867d (patch) | |
tree | 76c46ed44ea0b8b254aff6e43730c3cbaedcf489 /gtk/gtkcssstylepropertyimpl.c | |
parent | 3a3a59c1882296aec8f37e21c78f71e82a127e30 (diff) | |
download | gtk+-ad1340cab44a1c70b6045b115e7852f9e625867d.tar.gz |
cssrgbavalue: Add a singleton for transparent colors
The most common background color is no background color.
Diffstat (limited to 'gtk/gtkcssstylepropertyimpl.c')
-rw-r--r-- | gtk/gtkcssstylepropertyimpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index a1987b751a..af2869121b 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -991,7 +991,7 @@ _gtk_css_style_property_init_properties (void) GTK_CSS_AFFECTS_BACKGROUND, color_parse, color_query, - _gtk_css_color_value_new_rgba (0, 0, 0, 0)); + _gtk_css_rgba_value_new_transparent ()); gtk_css_style_property_register ("font-family", GTK_CSS_PROPERTY_FONT_FAMILY, |