summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-12 21:17:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-12 21:19:18 +0100
commit570669631359021a8ad420753c87bcf4419d06cd (patch)
tree26d2fc0358cc5eca21ae4fa0d4e9b08124fb29da
parent1ca68d386bc0345240bf288bec023faaba2e07af (diff)
Related: tdf#92776 set parent style of notebook to toplevel window style
Change-Id: Iec16b2617c82c363a540f967f66c514b5b2b104b
-rw-r--r--vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index b285d5175a35..b904dfc3dcef 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);