changeset 2394:07ed545403ea

Use correct thumbnail dirs Since glib 2.34, the thumbnails are in .cache/thumbnails, not in .thumbnails.
author rezso <rezso@rezso.net>
date Mon, 20 Jun 2016 01:25:10 +0200
parents e77b4764e794
children 1c474a4e91a2
files src/thumb_standard.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/thumb_standard.h	Mon Jun 20 01:32:00 2016 +1000
+++ b/src/thumb_standard.h	Mon Jun 20 01:25:10 2016 +0200
@@ -23,7 +23,11 @@
 #define THUMB_STANDARD_H
 
 
+#if GLIB_CHECK_VERSION (2, 34, 0)
+#define THUMB_FOLDER_GLOBAL ".cache/thumbnails"
+#else
 #define THUMB_FOLDER_GLOBAL ".thumbnails"
+#endif
 #define THUMB_FOLDER_LOCAL  ".thumblocal"
 #define THUMB_FOLDER_NORMAL "normal"
 #define THUMB_FOLDER_LARGE  "large"