[gimp] Bug 646644: support of freedesktop's Thumbnail Management Standard.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 646644: support of freedesktop's Thumbnail Management Standard.
- Date: Thu, 9 May 2013 22:58:11 +0000 (UTC)
commit 483505f2fcc5546f246f62c590bd5b4871b3081e
Author: Jehan <jehan girinstud io>
Date: Sun Apr 28 08:47:41 2013 +0900
Bug 646644: support of freedesktop's Thumbnail Management Standard.
libgimpthumb/gimpthumb-utils.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgimpthumb/gimpthumb-utils.c b/libgimpthumb/gimpthumb-utils.c
index ea5e41e..bad8337 100644
--- a/libgimpthumb/gimpthumb-utils.c
+++ b/libgimpthumb/gimpthumb-utils.c
@@ -141,11 +141,11 @@ gimp_thumb_init (const gchar *creator,
#else
- const gchar *home_dir = g_get_home_dir ();
+ const gchar *cache_dir = g_get_user_cache_dir ();
- if (home_dir && g_file_test (home_dir, G_FILE_TEST_IS_DIR))
+ if (cache_dir && g_file_test (cache_dir, G_FILE_TEST_IS_DIR))
{
- thumb_dir = g_build_filename (home_dir, ".thumbnails", NULL);
+ thumb_dir = g_build_filename (cache_dir, "thumbnails", NULL);
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]