summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shutdowniconunx.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-13 02:47:36 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:33 -0500
commit64bf274cc9d5d73e2a86861f585257f76105ce3e (patch)
treed0f315dda8deb7b5b82a749f9644ba1191aadafb /sfx2/source/appl/shutdowniconunx.cxx
parente00037f4dd92a03bd3544291e5cf1f5a4c9bccc8 (diff)
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'sfx2/source/appl/shutdowniconunx.cxx')
-rw-r--r--sfx2/source/appl/shutdowniconunx.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx
index 0f163dc7c7..1722d022e1 100644
--- a/sfx2/source/appl/shutdowniconunx.cxx
+++ b/sfx2/source/appl/shutdowniconunx.cxx
@@ -348,7 +348,7 @@ extern "C" {
static gboolean
show_at_idle( gpointer )
{
- ::vos::OGuard aGuard( Application::GetSolarMutex() );
+ SolarMutexGuard aGuard;
gtk_widget_show_all( GTK_WIDGET( pTrayIcon ) );
return FALSE;
}
@@ -356,7 +356,7 @@ extern "C" {
void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray()
{
- ::vos::OGuard aGuard( Application::GetSolarMutex() );
+ SolarMutexGuard aGuard;
if( !g_type_from_name( "GdkDisplay" ) )
return;
@@ -400,7 +400,7 @@ void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray()
void SAL_DLLPUBLIC_EXPORT plugin_shutdown_sys_tray()
{
- ::vos::OGuard aGuard( Application::GetSolarMutex() );
+ SolarMutexGuard aGuard;
if( !pTrayIcon )
return;
gtk_widget_destroy( GTK_WIDGET( pTrayIcon ) );