diff options
author | Ondrej Holy <oholy@redhat.com> | 2015-04-17 09:09:15 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2015-04-20 11:35:11 +0200 |
commit | 463e5b10539bc985efc30ea7da0bf045654ef75b (patch) | |
tree | 0a9827db887421d33849a8add302c267ece84363 /daemon/trashlib | |
parent | 322cc1a665f9bcda1a0fcdb306829816a4413c54 (diff) | |
download | gvfs-463e5b10539bc985efc30ea7da0bf045654ef75b.tar.gz |
monitor: Rename deprecated g_unix_mount_monitor_new
g_unix_mount_monitor_new is deprecated now. It was renamed to
g_unix_mount_monitor_get, because it is singleton. See Bug 742599.
https://bugzilla.gnome.org/show_bug.cgi?id=712382
Diffstat (limited to 'daemon/trashlib')
-rw-r--r-- | daemon/trashlib/trashwatcher.c | 2 |
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); |