Use correct thumbnail dirs
authorrezso <rezso@rezso.net>
Sun, 19 Jun 2016 23:25:10 +0000 (01:25 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jun 2016 23:25:10 +0000 (01:25 +0200)
Since glib 2.34, the thumbnails are in .cache/thumbnails, not in .thumbnails.

src/thumb_standard.h

index 091b521..2b5c934 100644 (file)
 #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"