diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-04 19:57:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-04 19:57:41 +0100 |
commit | 9f01cda55d519406248fc095667442575b7329f0 (patch) | |
tree | 9533f890cd86b5f1dd612f3ae3c9a5becbdb080a /debian/patches/04_cap_always_settable.patch | |
parent | 9d7b3dd818adbeb80fb7274e01be3a2e49f10f4e (diff) |
Many work to make DebSrc3 fit
Diffstat (limited to 'debian/patches/04_cap_always_settable.patch')
-rw-r--r-- | debian/patches/04_cap_always_settable.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/04_cap_always_settable.patch b/debian/patches/04_cap_always_settable.patch new file mode 100644 index 0000000..aef60f1 --- /dev/null +++ b/debian/patches/04_cap_always_settable.patch @@ -0,0 +1,17 @@ +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); + } + } + |