diff options
Diffstat (limited to 'src/simple-scan.vala')
-rw-r--r-- | src/simple-scan.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simple-scan.vala b/src/simple-scan.vala index d30aa45..0c263f0 100644 --- a/src/simple-scan.vala +++ b/src/simple-scan.vala @@ -105,7 +105,7 @@ public class SimpleScan : Gtk.Application private void update_scan_devices_cb (Scanner scanner, List<ScanDevice> devices) { - var devices_copy = devices.copy (); + var devices_copy = devices.copy_deep ((CopyFunc) Object.ref); /* If the default device is not detected add it to the list */ if (default_device != null) |