summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/gdaemonvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gdaemonvfs.c b/client/gdaemonvfs.c
index bae13eb3..fc439014 100644
--- a/client/gdaemonvfs.c
+++ b/client/gdaemonvfs.c
@@ -308,7 +308,7 @@ g_daemon_vfs_init (GDaemonVfs *vfs)
vfs->wrapped_vfs = g_vfs_get_local ();
/* Use the old .gvfs location as fallback, not .cache/gvfs */
- if (g_get_user_runtime_dir() == g_get_user_cache_dir ())
+ if (g_strcmp0 (g_get_user_runtime_dir(), g_get_user_cache_dir ()) == 0)
file = g_build_filename (g_get_home_dir(), ".gvfs", NULL);
else
file = g_build_filename (g_get_user_runtime_dir(), "gvfs", NULL);