diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-04-10 22:57:03 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-04-10 22:57:03 +0200 |
commit | dc2f75b103591edd37321ba4b0d7e3a0094378aa (patch) | |
tree | ced4dc2c57a4ccacbb74241d58505ac5b55675be /src/scanner.vala | |
parent | 36ea9e0aa630a76096d25fedbf6abf5c0463cfda (diff) | |
parent | ff7d3169ff4101b8d0e8fe0d087af62506dbe43e (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/scanner.vala')
-rw-r--r-- | src/scanner.vala | 16 |
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) |