You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
873 B
22 lines
873 B
diff -urN simple-scan-3.25.1.old/src/ui.vala simple-scan-3.25.1/src/ui.vala
|
|
--- simple-scan-3.25.1.old/src/ui.vala 2017-04-25 04:10:18.000000000 +0100
|
|
+++ simple-scan-3.25.1/src/ui.vala 2017-04-25 13:38:49.425811115 +0100
|
|
@@ -467,7 +467,7 @@
|
|
for (i = 0; i < n_delete; i++)
|
|
{
|
|
device_model.iter_nth_child (out iter, null, index);
|
|
- device_model.remove (iter);
|
|
+ device_model.remove (ref iter);
|
|
}
|
|
}
|
|
else
|
|
@@ -480,7 +480,7 @@
|
|
|
|
/* Remove any remaining devices */
|
|
while (device_model.iter_nth_child (out iter, null, index))
|
|
- device_model.remove (iter);
|
|
+ device_model.remove (ref iter);
|
|
|
|
/* Select the previously selected device or the first available device */
|
|
if (!have_selection)
|