summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-04-10 22:56:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-04-10 22:56:21 +0200
commitabf556308c0dca2264165a731cec9345405fd85a (patch)
treeaa8c9a38c18f8318ba7637e2bc5655eedb2df336 /src
parent8eb2b297d6e03975afc17e1d468aa8913639e1a9 (diff)
New upstream version 3.36.1upstream/3.36.1
Diffstat (limited to 'src')
-rw-r--r--src/scanner.vala16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/scanner.vala b/src/scanner.vala
index caf740b..fbcc6c6 100644
--- a/src/scanner.vala
+++ b/src/scanner.vala
@@ -1094,22 +1094,6 @@ public class Scanner : Object
set_bool_option (handle, option, index, (job.type != ScanType.SINGLE) && (job.type != ScanType.BATCH), null);
}
- /* Disable compression, we will compress after scanning */
- option = get_option_by_name (handle, "compression", out index);
- if (option != null)
- {
- string[] disable_compression_names =
- {
- Sane.I18N ("None"),
- Sane.I18N ("none"),
- "None",
- "none"
- };
-
- if (!set_constrained_string_option (handle, option, index, disable_compression_names, null))
- warning ("Unable to disable compression, please file a bug");
- }
-
/* Set resolution and bit depth */
option = get_option_by_name (handle, Sane.NAME_SCAN_RESOLUTION, out index);
if (option != null)