summaryrefslogtreecommitdiff
path: root/client/gdaemonvfs.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-02-07 12:14:48 +0100
committerTomas Bzatek <tbzatek@redhat.com>2012-02-07 12:14:48 +0100
commitf81e381b58bf4dc8ea42ceb50311d4ef92677f72 (patch)
tree2341b81bab7e02ccb620bb31894f743565516978 /client/gdaemonvfs.c
parent87b5115aa18bc13858ef0d5041855658a22822be (diff)
downloadgvfs-f81e381b58bf4dc8ea42ceb50311d4ef92677f72.tar.gz
Use user runtime dir for gvfs mounts
https://bugzilla.gnome.org/show_bug.cgi?id=646391 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
Diffstat (limited to 'client/gdaemonvfs.c')
-rw-r--r--client/gdaemonvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gdaemonvfs.c b/client/gdaemonvfs.c
index ae17c3c6..bb75da51 100644
--- a/client/gdaemonvfs.c
+++ b/client/gdaemonvfs.c
@@ -325,7 +325,7 @@ g_daemon_vfs_init (GDaemonVfs *vfs)
vfs->wrapped_vfs = g_vfs_get_local ();
- file = g_build_filename (g_get_home_dir(), ".gvfs", NULL);
+ file = g_build_filename (g_get_user_runtime_dir(), "gvfs", NULL);
vfs->fuse_root = g_vfs_get_file_for_path (vfs->wrapped_vfs, file);
g_free (file);