summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx1
-rw-r--r--vcl/unx/gtk/window/gtksalmenu.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index eaa2aa2d7b45..1c08134bb685 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -564,6 +564,7 @@ on_registrar_available (GDBusConnection * /*connection*/,
pMenuBar->SetDisplayable( sal_False );
}
}
+ pSalMenu->UpdateNativeMenu();
}
return;
diff --git a/vcl/unx/gtk/window/gtksalmenu.cxx b/vcl/unx/gtk/window/gtksalmenu.cxx
index 2a47a6616c01..d5c35fc0b479 100644
--- a/vcl/unx/gtk/window/gtksalmenu.cxx
+++ b/vcl/unx/gtk/window/gtksalmenu.cxx
@@ -396,8 +396,6 @@ void GtkSalMenu::SetFrame( const SalFrame* pFrame )
if(mpActionGroup)
g_lo_action_group_clear( G_LO_ACTION_GROUP(mpActionGroup) );
pFrameNonConst->EnsureAppMenuWatch();
- mpMenuModel = G_MENU_MODEL( g_object_get_data( G_OBJECT( pWindow ), "g-lo-menubar" ) );
- mpActionGroup = G_ACTION_GROUP( g_object_get_data( G_OBJECT( pWindow ), "g-lo-action-group" ) );
// Generate the main menu structure.
UpdateNativeMenu();
}