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

New commits:
commit 0cbbdac4382a36dd8e2c602d239d394eff67c06b
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Jul 25 14:25:40 2017 +0100

    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

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:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to