summaryrefslogtreecommitdiff
path: root/src/photos
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-08-18 20:39:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-08-18 20:39:21 +0200
commit2ed34746222ea505631ae8ef8ca50552af999ad2 (patch)
tree0fff03abf0c122c8852f1e60be31db4cbcee8167 /src/photos
parenteee242571f78cedcca283c6396026c80640572c9 (diff)
New upstream version 0.30.14upstream/0.30.14
Diffstat (limited to 'src/photos')
-rw-r--r--src/photos/PhotoMetadata.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/photos/PhotoMetadata.vala b/src/photos/PhotoMetadata.vala
index fdda0e6..7c100c0 100644
--- a/src/photos/PhotoMetadata.vala
+++ b/src/photos/PhotoMetadata.vala
@@ -283,7 +283,7 @@ public class PhotoMetadata : MediaMetadata {
#else
exiv2.open_buf(buffer, length);
#endif
- exif = Exif.Data.new_from_data(buffer, length);
+ exif = Exif.Data.new_from_data(buffer);
source_name = "<memory buffer %d bytes>".printf(length);
}
@@ -294,7 +294,7 @@ public class PhotoMetadata : MediaMetadata {
#if NEW_GEXIV2_API
exiv2.from_app1_segment(buffer.get_data());
#else
- exif = Exif.Data.new_from_data(buffer.get_data(), buffer.get_size());
+ exif = Exif.Data.new_from_data(buffer.get_data());
#endif
source_name = "<app1 segment %zu bytes>".printf(buffer.get_size());
}