[Libreoffice-commits] .: sfx2/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Jan 19 08:39:49 PST 2011


 sfx2/source/appl/shutdowniconunx.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 510e5083c143a258d8f7dab306fff1308436b17a
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jan 19 16:39:23 2011 +0000

    logic reversed

diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx
index 371140c..5618e73 100644
--- a/sfx2/source/appl/shutdowniconunx.cxx
+++ b/sfx2/source/appl/shutdowniconunx.cxx
@@ -348,7 +348,7 @@ void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray()
     ::SolarMutexGuard aGuard;
 
     if( /* need gtk_status to resolve */
-        !gtk_check_version( 2, 10, 0 ) ||
+        (gtk_check_version( 2, 10, 0 ) != NULL) ||
         /* we need the vcl plugin and mainloop initialized */
         !g_type_from_name( "GdkDisplay" ) )
         return;


More information about the Libreoffice-commits mailing list