summaryrefslogtreecommitdiff
path: root/plugins/housekeeping
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-16 13:09:06 +0100
committerinfirit <[email protected]>2014-12-16 13:09:06 +0100
commit53e5977084918ba34ca15d25670889201f9355e4 (patch)
treef649f1745a6222558f75d6408db0320141c005e5 /plugins/housekeeping
parent602945c084d45bd3858e564e03a70a2a361a5756 (diff)
downloadmate-settings-daemon-53e5977084918ba34ca15d25670889201f9355e4.tar.bz2
mate-settings-daemon-53e5977084918ba34ca15d25670889201f9355e4.tar.xz
Revert "Add back Glib 2.32 support"
This reverts commit 602945c084d45bd3858e564e03a70a2a361a5756.
Diffstat (limited to 'plugins/housekeeping')
-rw-r--r--plugins/housekeeping/msd-housekeeping-manager.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/housekeeping/msd-housekeeping-manager.c b/plugins/housekeeping/msd-housekeeping-manager.c
index b822a5f..9418e92 100644
--- a/plugins/housekeeping/msd-housekeeping-manager.c
+++ b/plugins/housekeeping/msd-housekeeping-manager.c
@@ -203,38 +203,22 @@ purge_thumbnail_cache (MsdHousekeepingManager *manager)
g_debug ("housekeeping: checking thumbnail cache size and freshness");
-#if GLIB_CHECK_VERSION (2, 34, 0)
path = g_build_filename (g_get_user_cache_dir (),
"thumbnails",
-#else
- path = g_build_filename (g_get_home_dir (),
- ".thumbnails",
-#endif
"normal",
NULL);
files = read_dir_for_purge (path, NULL);
g_free (path);
-#if GLIB_CHECK_VERSION (2, 34, 0)
path = g_build_filename (g_get_user_cache_dir (),
"thumbnails",
-#else
- path = g_build_filename (g_get_home_dir (),
- ".thumbnails",
-#endif
"large",
NULL);
files = read_dir_for_purge (path, files);
g_free (path);
-#if GLIB_CHECK_VERSION (2, 34, 0)
path = g_build_filename (g_get_user_cache_dir (),
"thumbnails",
-#else
- path = g_build_filename (g_get_home_dir (),
- ".thumbnails",
-#endif
-
"fail",
"mate-thumbnail-factory",
NULL);