summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-disk-space.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-18 02:24:58 +0200
committerinfirit <[email protected]>2014-05-18 02:24:58 +0200
commit39f3f3c703ae0b6f6bd669c3b07a151ebcd582a1 (patch)
tree36351f5f0dca5aad2a67d2beaccfee78b3cd4f8a /plugins/housekeeping/msd-disk-space.c
parentb80af3d3d5748e4f27d354be429d09fe7f25241f (diff)
downloadmate-settings-daemon-39f3f3c703ae0b6f6bd669c3b07a151ebcd582a1.tar.bz2
mate-settings-daemon-39f3f3c703ae0b6f6bd669c3b07a151ebcd582a1.tar.xz
Drop support for glib < 2.36
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);