diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-25 14:25:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-25 14:26:55 +0100 |
commit | 0cbbdac4382a36dd8e2c602d239d394eff67c06b (patch) | |
tree | b0ccee9e0044c59adef34b317a0de9bd83941ddd /vcl | |
parent | 59e370f65369f345e8c505bb0b156d53d4b83acc (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
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 3 |
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: |