[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon May 24 10:55:45 UTC 2021
vcl/unx/gtk3/salnativewidgets-gtk.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bb68b8fa3982297897c5ec18a64aad41cec4231b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon May 24 10:41:40 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon May 24 12:55:01 2021 +0200
gtk4: background colors have to be solid for themeing
Change-Id: I3a644c5674897ef6994d15ec0de614993d65d9d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116041
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
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;
More information about the Libreoffice-commits
mailing list