libgimpthumb: new function gimp_thumb_get_thumb_base_dir()

Also use this new function in the gimp-thumbnail-list tool, which must
always use the same thumbnail folder as GIMP core.
This commit is contained in:
Jehan 2013-12-04 23:08:09 +13:00
parent 7ef45be890
commit 6c4d8c45b7
4 changed files with 28 additions and 6 deletions

View file

@ -35,6 +35,8 @@ G_BEGIN_DECLS
gboolean gimp_thumb_init (const gchar *creator,
const gchar *thumb_basedir);
const gchar * gimp_thumb_get_thumb_base_dir (void);
gchar * gimp_thumb_find_thumb (const gchar *uri,
GimpThumbSize *size) G_GNUC_MALLOC;