vcl/unx/gtk/window/gtksalmenu.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7fbd05d52ecc385b67f8a95b0bf533407797aa18
Author: Bjoern Michaelsen <[email protected]>
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 );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to