summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-disk-space.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/housekeeping/msd-disk-space.c')
-rw-r--r--plugins/housekeeping/msd-disk-space.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/housekeeping/msd-disk-space.c b/plugins/housekeeping/msd-disk-space.c
index 4a3de04..94c5800 100644
--- a/plugins/housekeeping/msd-disk-space.c
+++ b/plugins/housekeeping/msd-disk-space.c
@@ -546,11 +546,7 @@ ldsm_mounts_changed (GObject *monitor,
mounts = g_unix_mounts_get (time_read);
g_hash_table_foreach_remove (ldsm_notified_hash,
ldsm_is_hash_item_not_in_mounts, mounts);
-#if GLIB_CHECK_VERSION (2, 28, 0)
g_list_free_full (mounts, (GDestroyNotify) g_unix_mount_free);
-#else
- g_list_foreach (mounts, (GFunc) g_unix_mount_free, NULL);
-#endif
/* check the status now, for the new mounts */
ldsm_check_all_mounts (NULL);