summaryrefslogtreecommitdiff
path: root/plugins/housekeeping/msd-housekeeping-manager.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-housekeeping-manager.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-housekeeping-manager.c')
-rw-r--r--plugins/housekeeping/msd-housekeeping-manager.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/plugins/housekeeping/msd-housekeeping-manager.c b/plugins/housekeeping/msd-housekeeping-manager.c
index bd27898..9418e92 100644
--- a/plugins/housekeeping/msd-housekeeping-manager.c
+++ b/plugins/housekeeping/msd-housekeeping-manager.c
@@ -203,37 +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);