summaryrefslogtreecommitdiff
path: root/daemon/trashlib
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/trashlib')
-rw-r--r--daemon/trashlib/trashwatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/trashlib/trashwatcher.c b/daemon/trashlib/trashwatcher.c
index d681733e..f1196a3f 100644
--- a/daemon/trashlib/trashwatcher.c
+++ b/daemon/trashlib/trashwatcher.c
@@ -264,7 +264,7 @@ trash_watcher_new (TrashRoot *root)
watcher->root = root;
watcher->mounts = NULL;
watcher->watching = FALSE;
- watcher->mount_monitor = g_unix_mount_monitor_new ();
+ watcher->mount_monitor = g_unix_mount_monitor_get ();
g_signal_connect_swapped (watcher->mount_monitor, "mounts_changed",
G_CALLBACK (trash_watcher_remount), watcher);