From ad1ff06aff068bb260c0b957c5257acb1d117caf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Tue, 28 Dec 2021 00:26:36 +0100 Subject: Avoid producing thumbnails of thumbnails --- fiv-io.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fiv-io.h') 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); -- cgit v1.2.3