blob: 68945aad07d6af329ff31ae1ea60da1c4575b169 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Description: Remove check for SANE_CAP_ALWAYS_SETTABLE
The flag was never part of the standard and has been removed upstream
in SANE 1.0.20.
Author: Julien BLACHE <jblache@debian.org>
Index: xsane-0.996/src/xsane-back-gtk.c
===================================================================
--- xsane-0.996.orig/src/xsane-back-gtk.c 2010-03-13 20:43:00.696742544 +0100
+++ xsane-0.996/src/xsane-back-gtk.c 2010-03-13 20:43:03.360741649 +0100
@@ -2622,10 +2622,7 @@
continue;
}
- if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE))
- {
- gtk_widget_set_sensitive(xsane.element[i].widget, sensitive);
- }
+ gtk_widget_set_sensitive(xsane.element[i].widget, sensitive);
}
if (xsane.xsanemode_widget)
|