summaryrefslogtreecommitdiff
path: root/debian/patches/04_cap_always_settable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/04_cap_always_settable.patch')
-rw-r--r--debian/patches/04_cap_always_settable.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/debian/patches/04_cap_always_settable.patch b/debian/patches/04_cap_always_settable.patch
deleted file mode 100644
index aef60f1..0000000
--- a/debian/patches/04_cap_always_settable.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Author: <jblache@debian.org>
-Description: Remove check for SANE_CAP_ALWAYS_SETTABLE; the flag is not part
-of the standard and has been removed upstream in SANE 1.0.20.
-Index: trunk/src/gtkglue.c
-===================================================================
---- trunk.orig/src/gtkglue.c
-+++ trunk/src/gtkglue.c
-@@ -1476,8 +1476,7 @@ gsg_set_sensitivity (GSGDialog * dialog,
- || opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget)
- continue;
-
-- if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE))
-- gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
-+ gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
- }
- }
-