diff -upr mate-settings-daemon-1.6.2-orig/plugins/housekeeping/msd-housekeeping-manager.c mate-settings-daemon-1.6.2/plugins/housekeeping/msd-housekeeping-manager.c --- mate-settings-daemon-1.6.2-orig/plugins/housekeeping/msd-housekeeping-manager.c 2013-12-16 23:09:23.000000000 +0100 +++ mate-settings-daemon-1.6.2/plugins/housekeeping/msd-housekeeping-manager.c 2014-01-04 15:38:38.912536866 +0100 @@ -203,37 +203,22 @@ purge_thumbnail_cache (MsdHousekeepingMa 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);