projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a24b29
)
Use correct thumbnail dirs
author
rezso
<rezso@rezso.net>
Sun, 19 Jun 2016 23:25:10 +0000
(
01:25
+0200)
committer
GitHub
<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
patch
|
blob
|
history
diff --git
a/src/thumb_standard.h
b/src/thumb_standard.h
index
091b521
..
2b5c934
100644
(file)
--- a/
src/thumb_standard.h
+++ b/
src/thumb_standard.h
@@
-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"