summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-07-25 14:25:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-07-25 14:26:55 +0100
commit0cbbdac4382a36dd8e2c602d239d394eff67c06b (patch)
treeb0ccee9e0044c59adef34b317a0de9bd83941ddd
parent59e370f65369f345e8c505bb0b156d53d4b83acc (diff)
Related: tdf#102909 use menubar style for non-native menubars
this code should typically not get used at all, as the menubar is a native one, but there is a possible configure route at the moment where this could be achieved. Change-Id: I23c7fa8ad05a378c7d64c75de5f895aa49001597
-rw-r--r--vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 1a8f45137862..459fab2732a0 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -2356,8 +2356,7 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
}
else
{
- // context = mpMenuBarStyle; why does this not work
- context = gtk_widget_get_style_context(mpWindow);
+ context = mpMenuBarStyle;
}
break;
case ControlType::Fixedline: