Re: xscanimage patch: progress updation

David Mosberger-Tang (David.Mosberger@acm.org)
Wed, 29 Apr 1998 19:49:04 -0700

>>>>> On Wed, 29 Apr 1998 20:49:14 -0400 (EDT), Matto Marjanovic <maddog@mir.com> said:

Matto> Here is a microscopic patch for xscanimage... it simply
Matto> changes "gdk_events_pending" to "gtk_events_pending".

Thanks for this suggestion. I changed all occurrences of
gdk_events_pending to gtk_events_pending (there are a total of four
lines that had to be changed).

Matto> I've always been annoyed by how my progress bar never updates
Matto> at a useful pace, if it appears at all. This solves the
Matto> problem beautifully --- and, I think "gdk_" was a typo to
Matto> boot, since a) the GTK+ Tutorial says "gtk_", and b) the
Matto> progress update function should generate GTK events, not GDK
Matto> events, I would think.

No, the gdk was not a typo---gtk_events_pending simply did not exist
until Jan 17th this year. It appears that until today simply nobody
has noticed its appearance... ;-)

Thanks,

--david

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com