[Libreoffice-commits] .: sfx2/source

David Tardon dtardon at kemper.freedesktop.org
Tue Dec 7 05:40:25 PST 2010


 sfx2/source/appl/shutdowniconunx.cxx |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

New commits:
commit 7a77e34a5c0bbd819448c5328e5a425786266a34
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Dec 7 14:40:16 2010 +0100

    not necessary anymore

diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx
index 9a0b463..371140c 100644
--- a/sfx2/source/appl/shutdowniconunx.cxx
+++ b/sfx2/source/appl/shutdowniconunx.cxx
@@ -72,13 +72,10 @@ static void systray_disable_cb()
 
 static void exit_quickstarter_cb( GtkWidget * )
 {
-    if (pTrayIcon)
-    {
-        plugin_shutdown_sys_tray();
-        //terminate may cause this .so to be unloaded. So we must be hands off
-        //all calls into this .so after this call
-        ShutdownIcon::terminateDesktop();
-    }
+    plugin_shutdown_sys_tray();
+    //terminate may cause this .so to be unloaded. So we must be hands off
+    //all calls into this .so after this call
+    ShutdownIcon::terminateDesktop();
 }
 
 static void menu_deactivate_cb( GtkWidget *pMenu )


More information about the Libreoffice-commits mailing list