summaryrefslogtreecommitdiff
path: root/src/MediaDataRepresentation.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-14 20:36:17 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-14 20:36:17 +0200
commit31804433d72460cbe0a39f9f8ea5e76058d84cda (patch)
tree2084a84c39f159c6aea254775dc0880d52579d45 /src/MediaDataRepresentation.vala
parenta9898fb3f39c44a85876930ef6b2558052569ae6 (diff)
parentd443a3c2509889533ca812c163056bace396b586 (diff)
Update upstream source from tag 'upstream/0.32.1'
Update to upstream version '0.32.1' with Debian dir c460ad6e13d3c39eaa2d5399059385e64e6fba4c
Diffstat (limited to 'src/MediaDataRepresentation.vala')
-rw-r--r--src/MediaDataRepresentation.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/MediaDataRepresentation.vala b/src/MediaDataRepresentation.vala
index 6e6af00..3400577 100644
--- a/src/MediaDataRepresentation.vala
+++ b/src/MediaDataRepresentation.vala
@@ -7,10 +7,10 @@
public class BackingFileState {
public string filepath;
public int64 filesize;
- public time_t modification_time;
+ public DateTime modification_time;
public string? md5;
- public BackingFileState(string filepath, int64 filesize, time_t modification_time, string? md5) {
+ public BackingFileState(string filepath, int64 filesize, DateTime modification_time, string? md5) {
this.filepath = filepath;
this.filesize = filesize;
this.modification_time = modification_time;
@@ -154,7 +154,7 @@ public abstract class MediaSource : ThumbnailSource, Indexable {
public abstract File get_master_file();
public abstract uint64 get_master_filesize();
public abstract uint64 get_filesize();
- public abstract time_t get_timestamp();
+ public abstract DateTime? get_timestamp();
// Must return at least one, for the master file.
public abstract BackingFileState[] get_backing_files_state();
@@ -262,7 +262,7 @@ public abstract class MediaSource : ThumbnailSource, Indexable {
controller.commit();
}
- public abstract time_t get_exposure_time();
+ public abstract DateTime? get_exposure_time();
public abstract ImportID get_import_id();
}