summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2017-03-10 01:20:45 +0200
committerMaxim Monastirsky <momonasmon@gmail.com>2017-03-16 21:53:02 +0200
commit7c3f18ca3be629c2113e168ffe442c4e89cfeaea (patch)
treef3bbeb6e9ba338ae71370dd3542e8a3c4a5041d3 /vcl
parent0e31d0aa855f7f5ab4875bae916d277fc3c96998 (diff)
This conditional isn't needed
Change-Id: If54f3d815605b07fae505b52e3b532af608e9b7e
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/gtksalmenu.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index ec253945c89e..fe7eecedecdb 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -846,13 +846,11 @@ void GtkSalMenu::SetFrame(const SalFrame* pFrame)
g_lo_menu_insert_section( pMenuModel, 0, nullptr, mpMenuModel );
-#if GTK_CHECK_VERSION(3,0,0)
if (!bUnityMode && static_cast<MenuBar*>(mpVCLMenu.get())->IsDisplayable())
{
DestroyMenuBarWidget();
CreateMenuBarWidget();
}
-#endif
}
const GtkSalFrame* GtkSalMenu::GetFrame() const