aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-12-28 00:26:36 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-12-28 02:07:42 +0100
commitad1ff06aff068bb260c0b957c5257acb1d117caf (patch)
tree6ca557fb3eabfd5747b6bae82f25531ecdab8dad /fiv-io.h
parentaf2eb411d92028b50f5b54b4b69bbc73cc0cae34 (diff)
downloadfiv-ad1ff06aff068bb260c0b957c5257acb1d117caf.tar.gz
fiv-ad1ff06aff068bb260c0b957c5257acb1d117caf.tar.xz
fiv-ad1ff06aff068bb260c0b957c5257acb1d117caf.zip
Avoid producing thumbnails of thumbnails
Diffstat (limited to 'fiv-io.h')
-rw-r--r--fiv-io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fiv-io.h b/fiv-io.h
index 29d9807..5ce0c1c 100644
--- a/fiv-io.h
+++ b/fiv-io.h
@@ -134,6 +134,9 @@ typedef struct _FivIoThumbnailSizeInfo {
extern FivIoThumbnailSizeInfo
fiv_io_thumbnail_sizes[FIV_IO_THUMBNAIL_SIZE_COUNT];
+/// Returns this user's root thumbnail directory.
+gchar *fiv_io_get_thumbnail_root(void);
+
/// Generates wide thumbnails of up to the specified size, saves them in cache.
gboolean fiv_io_produce_thumbnail(
GFile *target, FivIoThumbnailSize size, GError **error);