summaryrefslogtreecommitdiff
path: root/src/MetadataWriter.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-08-12 10:07:35 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-08-12 10:07:35 +0200
commitd0aaad443a88968dc61172c050084d3d9faa7602 (patch)
treeba9356dd1659416b3217c19bbebda413b8786021 /src/MetadataWriter.vala
parentd443a3c2509889533ca812c163056bace396b586 (diff)
New upstream version 0.32.2upstream/0.32.2
Diffstat (limited to 'src/MetadataWriter.vala')
-rw-r--r--src/MetadataWriter.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MetadataWriter.vala b/src/MetadataWriter.vala
index 5fc26d1..bc220da 100644
--- a/src/MetadataWriter.vala
+++ b/src/MetadataWriter.vala
@@ -113,7 +113,7 @@ public class MetadataWriter : Object {
MetadataDateTime? metadata_exposure_date_time = metadata.get_exposure_date_time();
if (metadata_exposure_date_time != null)
metadata_exposure_time = metadata_exposure_date_time.get_timestamp();
- if (current_exposure_time != metadata_exposure_time) {
+ if (nullsafe_date_time_comperator(current_exposure_time, metadata_exposure_time) != 0) {
metadata.set_exposure_date_time(current_exposure_time != null
? new MetadataDateTime(current_exposure_time)
: null);