From eee242571f78cedcca283c6396026c80640572c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 May 2021 15:23:46 +0200 Subject: New upstream version 0.30.12 --- src/camera/GPhoto.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/camera/GPhoto.vala') 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); -- cgit v1.2.3