#! /bin/sh /usr/share/dpatch/dpatch-run ## 09_cap_always_settable.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Remove check for SANE_CAP_ALWAYS_SETTABLE. The flag was never part of ## DP: the standard and has been removed upstream in SANE 1.0.20. @DPATCH@ diff -urNad xsane-0.996~/src/xsane-back-gtk.c xsane-0.996/src/xsane-back-gtk.c --- xsane-0.996~/src/xsane-back-gtk.c 2009-06-26 11:40:52.000000000 +0200 +++ xsane-0.996/src/xsane-back-gtk.c 2009-06-26 11:57:30.528586816 +0200 @@ -2612,10 +2612,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)