diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2022-06-04 15:06:10 +0200 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2022-06-04 16:37:25 +0200 | 
| commit | e2adac72cc15e47b2aa47c1bea07c61a60c547d7 (patch) | |
| tree | 7501ded27e719fb1bc1e857361c6d46ac65ecb3f /fiv-io.h | |
| parent | 3ddb0cf20568b84e053b1608d22d55657e8ce5dd (diff) | |
| download | fiv-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.h | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -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;  | 
