Kaydet (Commit) 7c3f18ca authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

This conditional isn't needed

Change-Id: If54f3d815605b07fae505b52e3b532af608e9b7e
üst 0e31d0aa
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment