summaryrefslogtreecommitdiff
path: root/daemon/mount.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-04-18 16:58:48 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:36 +0200
commita2c2c52928cd85fabcb7bf41476400ec4bb43611 (patch)
tree7f5085ae076c00fc9a88039e5e4cfdaed643d674 /daemon/mount.c
parent261ddae0c195a072c7d1928a9450cc81116fc340 (diff)
downloadgvfs-a2c2c52928cd85fabcb7bf41476400ec4bb43611.tar.gz
gdbus: Silence unmount failures
...and fix wrong typecast due to using an object we haven't reff'ed. The failure we're making silent were coming from a failed d-bus call to mount tracker. Also turned out the org.gtk.vfs.MountTracker.unregisterMount() has never been implemented, daemon mounttracker is watching for clients disconnects anyway.
Diffstat (limited to 'daemon/mount.c')
-rw-r--r--daemon/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index 47a41912..9649f0cf 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -1068,6 +1068,7 @@ mount_init (void)
g_signal_connect (mount_tracker, "handle-list-mounts", G_CALLBACK (handle_list_mounts), NULL);
g_signal_connect (mount_tracker, "handle-list-mountable-info", G_CALLBACK (handle_list_mountable_info), NULL);
g_signal_connect (mount_tracker, "handle-list-mount-types", G_CALLBACK (handle_list_mount_types), NULL);
+ /* FIXME: handle unregisterMount() */
error = NULL;
if (!g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (mount_tracker), conn,