[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Wed Oct 12 20:22:21 UTC 2016


 vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 570669631359021a8ad420753c87bcf4419d06cd
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Oct 12 21:17:43 2016 +0100

    Related: tdf#92776 set parent style of notebook to toplevel window style
    
    Change-Id: Iec16b2617c82c363a540f967f66c514b5b2b104b

diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index b285d51..b904dfc 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -2427,7 +2427,7 @@ GtkSalGraphics::GtkSalGraphics( GtkSalFrame *pFrame, GtkWidget *pWindow )
     mpSpinDownStyle = createStyleContext(GtkControlPart::SpinButtonDownButton, mpSpinStyle);
 
     /* NoteBook */
-    mpNotebookStyle = createStyleContext(GtkControlPart::Notebook);
+    mpNotebookStyle = createStyleContext(GtkControlPart::Notebook, gtk_widget_get_style_context(mpWindow));
     mpNotebookStackStyle = createStyleContext(GtkControlPart::NotebookStack, mpNotebookStyle);
     mpNotebookHeaderStyle = createStyleContext(GtkControlPart::NotebookHeader, mpNotebookStyle);
     mpNotebookHeaderTabsStyle = createStyleContext(GtkControlPart::NotebookHeaderTabs, mpNotebookHeaderStyle);


More information about the Libreoffice-commits mailing list