summaryrefslogtreecommitdiff
path: root/daemon/mount.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 /daemon/mount.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 'daemon/mount.c')
-rw-r--r--daemon/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index b016ac04..c2b7f8f3 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -735,7 +735,7 @@ register_mount (DBusConnection *connection,
/* Keep in sync with fuse daemon */
fs_name = g_uri_escape_string (mount->stable_name, "+@#$., ", TRUE);
- mount->fuse_mountpoint = g_build_filename (g_get_home_dir(), ".gvfs", fs_name, NULL);
+ mount->fuse_mountpoint = g_build_filename (g_get_user_runtime_dir(), "gvfs", fs_name, NULL);
}
mounts = g_list_prepend (mounts, mount);