summaryrefslogtreecommitdiffstats
path: root/vcl/unx/gtk3/salnativewidgets-gtk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk3/salnativewidgets-gtk.cxx')
-rw-r--r--vcl/unx/gtk3/salnativewidgets-gtk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/salnativewidgets-gtk.cxx b/vcl/unx/gtk3/salnativewidgets-gtk.cxx
index b6ab49a34485..68bf184673e9 100644
--- a/vcl/unx/gtk3/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/salnativewidgets-gtk.cxx
@@ -2199,7 +2199,7 @@ static ::Color style_context_get_background_color(GtkStyleContext* pStyle)
sal_uInt8 b = unpremultiply_table[a][data[SVP_CAIRO_BLUE]];
sal_uInt8 g = unpremultiply_table[a][data[SVP_CAIRO_GREEN]];
sal_uInt8 r = unpremultiply_table[a][data[SVP_CAIRO_RED]];
- Color aColor(ColorAlpha, a, r, g, b);
+ Color aColor(r, g, b);
cairo_surface_destroy(target);
return aColor;