summaryrefslogtreecommitdiff
path: root/src/camera/GPhoto.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-05-24 15:23:46 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-05-24 15:23:46 +0200
commiteee242571f78cedcca283c6396026c80640572c9 (patch)
tree4a2c26f76694c127d213fd344c95579ba6179207 /src/camera/GPhoto.vala
parent62419f2d51a3a9dda833aaeeb9e5bc7c4af547d6 (diff)
New upstream version 0.30.12upstream/0.30.12
Diffstat (limited to 'src/camera/GPhoto.vala')
-rw-r--r--src/camera/GPhoto.vala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/camera/GPhoto.vala b/src/camera/GPhoto.vala
index 39b2109..bc2251c 100644
--- a/src/camera/GPhoto.vala
+++ b/src/camera/GPhoto.vala
@@ -135,9 +135,10 @@ namespace GPhoto {
// filesystem. In these cases shotwell can access the file directly. See:
// http://redmine.yorba.org/issues/2959
public PhotoMetadata? get_fallback_metadata(Camera camera, Context context, string folder, string filename) {
- GPhoto.CameraStorageInformation *sifs = null;
+ // Fixme: Why do we need to query get_storageinfo here first?
+ GPhoto.CameraStorageInformation[] sifs = null;
int count = 0;
- camera.get_storageinfo(&sifs, out count, context);
+ camera.get_storageinfo(out sifs, context);
GPhoto.PortInfo port_info;
camera.get_port_info(out port_info);