From 39f3f3c703ae0b6f6bd669c3b07a151ebcd582a1 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 18 May 2014 02:24:58 +0200 Subject: Drop support for glib < 2.36 --- plugins/housekeeping/msd-disk-space.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'plugins/housekeeping/msd-disk-space.c') 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); -- cgit v1.2.1