summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-disk-space.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 21:33:09 +0300
committerraveit65 <[email protected]>2018-01-30 14:03:10 +0100
commit336743475664829a64d13bbd70a2c97a58375d0c (patch)
tree2f3498fee5dc93d489e8768c54d01228c5863629 /plugins/housekeeping/msd-disk-space.c
parenteaad50f7624c8946e57ca075f8b7e383b1715bcc (diff)
downloadmate-settings-daemon-336743475664829a64d13bbd70a2c97a58375d0c.tar.bz2
mate-settings-daemon-336743475664829a64d13bbd70a2c97a58375d0c.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'plugins/housekeeping/msd-disk-space.c')
-rw-r--r--plugins/housekeeping/msd-disk-space.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/housekeeping/msd-disk-space.c b/plugins/housekeeping/msd-disk-space.c
index 3aa1ab7..505d6ab 100644
--- a/plugins/housekeeping/msd-disk-space.c
+++ b/plugins/housekeeping/msd-disk-space.c
@@ -659,12 +659,7 @@ msd_ldsm_setup (gboolean check_now)
msd_ldsm_get_config ();
g_signal_connect (settings, "changed", G_CALLBACK (msd_ldsm_update_config), NULL);
-#if GLIB_CHECK_VERSION (2, 44, 0)
ldsm_monitor = g_unix_mount_monitor_get ();
-#else
- ldsm_monitor = g_unix_mount_monitor_new ();
- g_unix_mount_monitor_set_rate_limit (ldsm_monitor, 1000);
-#endif
g_signal_connect (ldsm_monitor, "mounts-changed",
G_CALLBACK (ldsm_mounts_changed), NULL);