[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Thu Aug 11 15:19:45 UTC 2016
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 176111160ddfbe4b6b36b300062bab156d46b211
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Aug 11 16:17:54 2016 +0100
Resolves: tdf#100250 scrollbar has no bg
Change-Id: I48e26b775337809759f8a76be7a9c457c94cd5c9
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index f320359..d3becb6 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -439,6 +439,11 @@ void GtkSalGraphics::PaintScrollbar(GtkStyleContext *context,
gtk_render_background(gtk_widget_get_style_context(gCacheWindow), cr, 0, 0,
scrollbarRect.GetWidth(), scrollbarRect.GetHeight() );
+ gtk_render_background(context, cr, 0, 0,
+ scrollbarRect.GetWidth(), scrollbarRect.GetHeight() );
+ gtk_render_frame(context, cr, 0, 0,
+ scrollbarRect.GetWidth(), scrollbarRect.GetHeight() );
+
gtk_render_background(pScrollbarContentsStyle, cr, 0, 0,
scrollbarRect.GetWidth(), scrollbarRect.GetHeight() );
gtk_render_frame(pScrollbarContentsStyle, cr, 0, 0,
More information about the Libreoffice-commits
mailing list