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

110 wiersze
4.8 KiB
HTML

<!-- received="Thu Apr 30 01:58:02 1998 PDT" -->
<!-- sent="Thu, 30 Apr 1998 10:55:26 +0200 (MET DST)" -->
<!-- name="Hugo van der Kooij" -->
<!-- email="hvdkooij@caiw.nl" -->
<!-- subject="Re: xscanimage patch: progress updation" -->
<!-- id="" -->
<!-- inreplyto="199804300249.TAA23120@panda.mostang.com" -->
<title>sane-devel: Re: xscanimage patch: progress updation</title>
<h1>Re: xscanimage patch: progress updation</h1>
<b>Hugo van der Kooij</b> (<a href="mailto:hvdkooij@caiw.nl"><i>hvdkooij@caiw.nl</i></a>)<br>
<i>Thu, 30 Apr 1998 10:55:26 +0200 (MET DST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#315">[ date ]</a><a href="index.html#315">[ thread ]</a><a href="subject.html#315">[ subject ]</a><a href="author.html#315">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0316.html">G<EFBFBD>ran Thyni: "Agfa Arcus II"</a>
<li> <b>Previous message:</b> <a href="0314.html">Russell Edwards: "HP ScanJet 5100C"</a>
<li> <b>In reply to:</b> <a href="0313.html">David Mosberger-Tang: "Re: xscanimage patch: progress updation"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0321.html">Kenneth Crudup: "Re: xscanimage patch: progress updation"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Wed, 29 Apr 1998, David Mosberger-Tang wrote:<br>
<p>
<i>&gt; &gt;&gt;&gt;&gt;&gt; On Wed, 29 Apr 1998 20:49:14 -0400 (EDT), Matto Marjanovic &lt;<a href="mailto:maddog@mir.com">maddog@mir.com</a>&gt; said:</i><br>
<i>&gt; </i><br>
<i>&gt; Matto&gt; Here is a microscopic patch for xscanimage... it simply</i><br>
<i>&gt; Matto&gt; changes "gdk_events_pending" to "gtk_events_pending".</i><br>
<i>&gt; </i><br>
<i>&gt; Thanks for this suggestion. I changed all occurrences of</i><br>
<i>&gt; gdk_events_pending to gtk_events_pending (there are a total of four</i><br>
<i>&gt; lines that had to be changed).</i><br>
<p>
Resulting in:<br>
<p>
--------B&lt;--------B&lt;--------B&lt;--------B&lt;--------B&lt;--------B&lt;--------<br>
--- sane-0.72/frontend/gtkglue.c.dist Fri Apr 3 09:49:45 1998<br>
+++ sane-0.72/frontend/gtkglue.c Thu Apr 30 10:40:00 1998<br>
@@ -293,7 +293,7 @@<br>
<br>
while (!cancel &amp;&amp; !ok)<br>
{<br>
- if (!gdk_events_pending ())<br>
+ if (!gtk_events_pending ())<br>
usleep (100000);<br>
gtk_main_iteration ();<br>
}<br>
--- sane-0.72/frontend/preview.c.dist Fri Apr 3 11:21:05 1998<br>
+++ sane-0.72/frontend/preview.c Thu Apr 30 10:40:58 1998<br>
@@ -674,7 +674,7 @@<br>
if (p-&gt;input_tag &lt; 0)<br>
{<br>
display_maybe (p);<br>
- while (gdk_events_pending ())<br>
+ while (gtk_events_pending ())<br>
gtk_main_iteration ();<br>
}<br>
}<br>
--- sane-0.72/frontend/xscanimage.c.dist Sat Apr 4 06:39:14 1998<br>
+++ sane-0.72/frontend/xscanimage.c Thu Apr 30 10:34:12 1998<br>
@@ -446,7 +446,7 @@<br>
}<br>
while (gsg_message_dialog_active)<br>
{<br>
- if (!gdk_events_pending ())<br>
+ if (!gtk_events_pending ())<br>
usleep (100000);<br>
gtk_main_iteration ();<br>
}<br>
@@ -587,7 +587,7 @@<br>
progress_update (scan_win.progress,<br>
scan_win.bytes_read / (gfloat) scan_win.num_bytes);<br>
if (scan_win.input_tag &lt; 0)<br>
- while (gdk_events_pending ())<br>
+ while (gtk_events_pending ())<br>
gtk_main_iteration ();<br>
<br>
switch (scan_win.param.format)<br>
--------B&lt;--------B&lt;--------B&lt;--------B&lt;--------B&lt;--------B&lt;--------<br>
<p>
Hugo.<br>
<p>
+------------------------+------------------------------+<br>
<i> | Hugo van der Kooij | <a href="mailto:Hugo.van.der.Kooij@caiw.nl">Hugo.van.der.Kooij@caiw.nl</a> |</i><br>
<i> | Oranje Nassaustraat 16 | <a href="http://www.caiw.nl/~hvdkooij">http://www.caiw.nl/~hvdkooij</a> |</i><br>
<i> | 3155 VJ Maasland | (De man met de rode hoed) |</i><br>
+------------------------+------------------------------+<br>
"Computers let you make more mistakes faster than any other invention in <br>
human history, with the possible exception of handguns and tequila."<br>
(Mitch Radcliffe)<br>
<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="0316.html">G<EFBFBD>ran Thyni: "Agfa Arcus II"</a>
<li> <b>Previous message:</b> <a href="0314.html">Russell Edwards: "HP ScanJet 5100C"</a>
<li> <b>In reply to:</b> <a href="0313.html">David Mosberger-Tang: "Re: xscanimage patch: progress updation"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0321.html">Kenneth Crudup: "Re: xscanimage patch: progress updation"</a>
<!-- reply="end" -->
</ul>