--- Em seg, 30/4/12, Bruce Dubbs escreveu:

> De: Bruce Dubbs
> Assunto: Re: [blfs-dev] sane and xsane
> Para: "BLFS Development List" 
> Data: Segunda-feira, 30 de Abril de 2012, 18:36
> Fernando de Oliveira wrote:
> > Bruce,
> > 
> > Any news?
> 
> I had to go out for a bit.  I was able to get
> sane-backends-1.0.22 to build OK, 
> but there is a problem with sane-frontends-1.0.14:
> 
> gtkglue.c:1479:24: error: 'SANE_CAP_ALWAYS_SETTABLE'
> undeclared
> 
> I'm looking for the patch now.
> 
>    -- Bruce
> 

Thanks, Bruce.

Does this help?

https://projects.archlinux.org/svntogit/packages.git/plain/trunk/MissingCapsFlag.patch?h=packages/sane-frontends

--- src/gtkglue.c       2005-04-16 15:12:07.000000000 +0200
+++ src/gtkglue.c.new   2009-06-24 00:26:46.000000000 +0200
@@ -1476,8 +1476,7 @@
          || 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);
     }
 }


[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to