[gvfs] dav: Use default unmount logic
- From: Christian Kellner <gicmo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] dav: Use default unmount logic
- Date: Sun, 5 Jun 2011 11:25:19 +0000 (UTC)
commit 6abbff2a11c28660a090e8b9398fb19332380094
Author: Christian Kellner <gicmo gnome org>
Date: Sun Jun 5 13:23:05 2011 +0200
dav: Use default unmount logic
Get rid of our own unmount logic which was just calling exit () and
instead rely on the default unmount logic. The result is that first
we get busy-on-unmount automatically once bug 509606 is fixed;
also we are fixing bug 567664 since by just calling exit () we never
sent a reply to the caller of unmount ().
https://bugzilla.gnome.org/show_bug.cgi?id=567664
daemon/gvfsbackenddav.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c
index b54f870..cbadb0f 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -2630,15 +2630,6 @@ do_set_display_name (GVfsBackend *backend,
soup_uri_free (source);
}
-static gboolean
-try_unmount (GVfsBackend *backend,
- GVfsJobUnmount *job,
- GMountUnmountFlags flags,
- GMountSource *mount_source)
-{
- _exit (0);
-}
-
/* ************************************************************************* */
/* */
static void
@@ -2666,5 +2657,4 @@ g_vfs_backend_dav_class_init (GVfsBackendDavClass *klass)
backend_class->make_directory = do_make_directory;
backend_class->delete = do_delete;
backend_class->set_display_name = do_set_display_name;
- backend_class->try_unmount = try_unmount;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]