wok-current view simple-scan/stuff/fix_vala.patch @ rev 25785

Mass rebuild after bump to glibc 2.31, add epson printer and scanner package
author Stanislas Leduc <shann@slitaz.org>
date Tue Jul 15 20:40:17 2025 +0000 (3 months ago)
parents
children
line source
1 diff --git a/src/page.vala b/src/page.vala
2 index 582aef8eaeb95b4e6fef783babb8df22c77807a6..c859df91f5bf87e4b834410c2d33a73389bd8ac2 100644
3 --- a/src/page.vala
4 +++ b/src/page.vala
5 @@ -86,7 +86,7 @@ public class Page
6 public bool is_color { get { return n_channels > 1; } }
8 /* Rotation of scanned data */
9 - private ScanDirection scan_direction_;
10 + private ScanDirection scan_direction_ = ScanDirection.TOP_TO_BOTTOM;
11 public ScanDirection scan_direction
12 {
13 get { return scan_direction_; }
14 @@ -142,8 +142,6 @@ public class Page
15 if (has_crop)
16 crop_changed ();
17 }
18 -
19 - default = ScanDirection.TOP_TO_BOTTOM;
20 }
22 /* True if the page has a crop set */