[Libreoffice-commits] .: Branch 'feature/unitymenus-quantal' - vcl/unx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Oct 5 04:51:52 PDT 2012
vcl/unx/gtk/window/gtksalmenu.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7fbd05d52ecc385b67f8a95b0bf533407797aa18
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Fri Oct 5 13:50:59 2012 +0200
grab the guard early
diff --git a/vcl/unx/gtk/window/gtksalmenu.cxx b/vcl/unx/gtk/window/gtksalmenu.cxx
index 1fd2e6f..4047872 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 );
More information about the Libreoffice-commits
mailing list