Author: kelnos
Date: 2007-07-08 00:26:04 +0000 (Sun, 08 Jul 2007)
New Revision: 25896

Modified:
   xfdesktop/trunk/src/main.c
Log:
don't require thunar-vfs if file icons are disabled


Modified: xfdesktop/trunk/src/main.c
===================================================================
--- xfdesktop/trunk/src/main.c  2007-07-07 20:56:58 UTC (rev 25895)
+++ xfdesktop/trunk/src/main.c  2007-07-08 00:26:04 UTC (rev 25896)
@@ -51,10 +51,10 @@
 
 #ifdef ENABLE_FILE_ICONS
 #include <dbus/dbus-glib.h>
+#include <thunar-vfs/thunar-vfs.h>
 #endif
 
 #if defined(ENABLE_FILE_ICONS) || defined(HAVE_THUNAR_VFS)
-#include <thunar-vfs/thunar-vfs.h>
 #endif
 
 #include "main.h"
@@ -335,7 +335,7 @@
         return (already_running ? 0 : 1);
     }
     
-#if defined(ENABLE_FILE_ICONS) || defined(HAVE_THUNAR_VFS)
+#ifdef ENABLE_FILE_ICONS
     thunar_vfs_init();
 #endif
     
@@ -412,7 +412,7 @@
     
     settings_cleanup();
     
-#if defined(ENABLE_FILE_ICONS) || defined(HAVE_THUNAR_VFS)
+#ifdef ENABLE_FILE_ICONS
     thunar_vfs_shutdown();
 #endif
     

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to