aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-06-04 15:06:10 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-06-04 16:37:25 +0200
commite2adac72cc15e47b2aa47c1bea07c61a60c547d7 (patch)
tree7501ded27e719fb1bc1e857361c6d46ac65ecb3f /fiv-io.h
parent3ddb0cf20568b84e053b1608d22d55657e8ce5dd (diff)
downloadfiv-e2adac72cc15e47b2aa47c1bea07c61a60c547d7.tar.gz
fiv-e2adac72cc15e47b2aa47c1bea07c61a60c547d7.tar.xz
fiv-e2adac72cc15e47b2aa47c1bea07c61a60c547d7.zip
Use the model's mtime for validating thumbnails
Saves a syscall, generalizes fiv_thumbnail_lookup(), wastes a tiny bit of memory per entry.
Diffstat (limited to 'fiv-io.h')
-rw-r--r--fiv-io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fiv-io.h b/fiv-io.h
index ed25d67..5a3ba27 100644
--- a/fiv-io.h
+++ b/fiv-io.h
@@ -123,8 +123,8 @@ gboolean fiv_io_model_open(FivIoModel *self, GFile *directory, GError **error);
GFile *fiv_io_model_get_location(FivIoModel *self);
typedef struct {
- gchar *uri; ///< GIO URI
- gchar *collate_key; ///< Collate key for the filename
+ char *uri; ///< GIO URI
+ char *collate_key; ///< Collate key for the filename
gint64 mtime_msec; ///< Modification time in milliseconds
} FivIoModelEntry;