summaryrefslogtreecommitdiff
path: root/monitor/udisks2/gvfsudisks2volumemonitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/udisks2/gvfsudisks2volumemonitor.c')
-rw-r--r--monitor/udisks2/gvfsudisks2volumemonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/udisks2/gvfsudisks2volumemonitor.c b/monitor/udisks2/gvfsudisks2volumemonitor.c
index 2163992b..eee938c5 100644
--- a/monitor/udisks2/gvfsudisks2volumemonitor.c
+++ b/monitor/udisks2/gvfsudisks2volumemonitor.c
@@ -315,7 +315,7 @@ gvfs_udisks2_volume_monitor_init (GVfsUDisks2VolumeMonitor *monitor)
G_CALLBACK (on_client_changed),
monitor);
- monitor->mount_monitor = g_unix_mount_monitor_new ();
+ monitor->mount_monitor = g_unix_mount_monitor_get ();
g_signal_connect (monitor->mount_monitor,
"mounts-changed",
G_CALLBACK (mounts_changed),