diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-10-05 13:50:59 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-14 13:52:55 +0100 |
commit | 839a18eb41aa6c3dd74b66fa4f50636a39f327ac (patch) | |
tree | b4a51fc01020eab18e5554241629f787d086d835 | |
parent | 668e03678313a57e1c7ecbe2f73e2bf8a6215c69 (diff) |
grab the guard early
-rw-r--r-- | vcl/unx/gtk/window/gtksalmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/window/gtksalmenu.cxx b/vcl/unx/gtk/window/gtksalmenu.cxx index 1fd2e6f19ec4..4047872179bb 100644 --- a/vcl/unx/gtk/window/gtksalmenu.cxx +++ b/vcl/unx/gtk/window/gtksalmenu.cxx @@ -241,10 +241,10 @@ void RemoveUnusedCommands( GLOActionGroup* pActionGroup, GList* pOldCommandList, void GtkSalMenu::UpdateNativeMenu() { + SolarMutexGuard aGuard; if( !PrepUpdate() ) return; -// SolarMutexGuard aGuard; Menu* pVCLMenu = mpVCLMenu; GLOMenu* pLOMenu = G_LO_MENU( mpMenuModel ); |