summaryrefslogtreecommitdiff
path: root/src/app-window.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-26 20:11:49 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-26 20:11:49 +0200
commit3a91d1ee11d4ea173fa1247059b7036056c12bd0 (patch)
tree42c0abf1a3cca07f54c4eea9cf45983e840683e8 /src/app-window.vala
parentb83216ded28de014bf2c543df8519dbc984deb59 (diff)
parent0384af9b7c644427247bbcba974a7afe1f93850c (diff)
Update upstream source from tag 'upstream/3.36.2.1'
Update to upstream version '3.36.2.1' with Debian dir ef6f8cd2158c4f0b4924ab5571f4e7e4fe566401
Diffstat (limited to 'src/app-window.vala')
-rw-r--r--src/app-window.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app-window.vala b/src/app-window.vala
index 0e25f8d..446353d 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -919,13 +919,14 @@ public class AppWindow : Gtk.ApplicationWindow
{
options.scan_mode = ScanMode.GRAY;
options.dpi = preferences_dialog.get_text_dpi ();
+ options.depth = 2;
}
else
{
options.scan_mode = ScanMode.COLOR;
options.dpi = preferences_dialog.get_photo_dpi ();
+ options.depth = 8;
}
- options.depth = 8;
preferences_dialog.get_paper_size (out options.paper_width, out options.paper_height);
options.brightness = brightness;
options.contrast = contrast;