sane-project-website/old-archive/1998-04/0294.html

75 wiersze
3.4 KiB
HTML

<!-- received="Mon Apr 27 11:47:40 1998 PDT" -->
<!-- sent="Mon, 27 Apr 1998 14:46:58 -0400" -->
<!-- name="Bill's way in if the password server fails" -->
<!-- email="kosh@merl.com" -->
<!-- subject="Bug report, version 0.72, with hack fixes.." -->
<!-- id="199804271846.OAA02889@zahadum.merl.com" -->
<!-- inreplyto="" -->
<title>sane-devel: Bug report, version 0.72, with hack fixes..</title>
<h1>Bug report, version 0.72, with hack fixes..</h1>
<b>Bill's way in if the password server fails</b> (<a href="mailto:kosh@merl.com"><i>kosh@merl.com</i></a>)<br>
<i>Mon, 27 Apr 1998 14:46:58 -0400</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#294">[ date ]</a><a href="index.html#294">[ thread ]</a><a href="subject.html#294">[ subject ]</a><a href="author.html#294">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0295.html">Oliver.Rauch@Wolfsburg.DE: "Re: Bug report - UMAX Astra 1200s scanner and a PCMCIA Bus Toaster."</a>
<li> <b>Previous message:</b> <a href="0293.html">Bill's way in if the password server fails: "Bug report - UMAX Astra 1200s scanner and a PCMCIA Bus Toaster."</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0296.html">Oliver.Rauch@Wolfsburg.DE: "Re: Bug report, version 0.72, with hack fixes.."</a>
<li> <b>Reply:</b> <a href="0296.html">Oliver.Rauch@Wolfsburg.DE: "Re: Bug report, version 0.72, with hack fixes.."</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
When building SANE 0.72 against GTK 0.99.8 and with gimp 0.99.26, <br>
I had the following gotchas...<br>
<p>
1) g_str_equal isn't defined in libgimp; it's in the gtk toolkit.<br>
<p>
hack fix: snarf the source, insert it into xscanimage.c<br>
<p>
proper fix: reference the proper gtk library. The original is<br>
in the file gtk&lt;whatever&gt;/glib/gstring.c <br>
<p>
<p>
2) g_str_hash isn't defined in libgimp, but it's in the gtk toolkit.<br>
<p>
hack fix: snarf the source, insert it into xscanimage.c<br>
<p>
proper fix: reference the proper gtk library. Again, the original<br>
code I stole is in gtk&lt;whatever&gt;/glib/gstring.c<br>
<p>
<p>
3) in "gtkglue.c", routine "static void set_tooltip", the routine<br>
named "gtk_tooltips_set_tip" is called. However, that routine<br>
doesn't seem to exist anywhere I can find it.<br>
<p>
hack fix: comment out the "set tip" call. It's just tips, anyway. :-) <br>
<p>
proper fix: make it work right. :)<br>
<p>
<p>
<p>
Hope this helps! Great software, by the way! <br>
<p>
-Bill Y.<br>
<p>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0295.html">Oliver.Rauch@Wolfsburg.DE: "Re: Bug report - UMAX Astra 1200s scanner and a PCMCIA Bus Toaster."</a>
<li> <b>Previous message:</b> <a href="0293.html">Bill's way in if the password server fails: "Bug report - UMAX Astra 1200s scanner and a PCMCIA Bus Toaster."</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0296.html">Oliver.Rauch@Wolfsburg.DE: "Re: Bug report, version 0.72, with hack fixes.."</a>
<li> <b>Reply:</b> <a href="0296.html">Oliver.Rauch@Wolfsburg.DE: "Re: Bug report, version 0.72, with hack fixes.."</a>
<!-- reply="end" -->
</ul>