[mcclim-devel] Patch for menu-choose.lisp

Andy Hefner ahefner at gmail.com
Sat Jul 8 17:20:15 UTC 2006


On 7/8/06, David Lichteblau <david at lichteblau.com> wrote:
> Well, I will test that patch if you send it to me.  (However, I will be
> offline for two weeks starting Monday.)
>
> I know some are considering non-threaded CLIM broken by design and not
> worth putting much effort into, but personally I like it a lot. :-)

Great. The patch adds support for :timeout 0 to get-next-event. This
looks like it should work:

Index: event.lisp
===================================================================
RCS file: /project/mcclim/cvsroot/mcclim/Backends/gtkairo/event.lisp,v
retrieving revision 1.8
diff -r1.8 event.lisp
102a103,108
>     ((and (numberp timeout)
>           (zerop timeout))
>      (gtk-main-iteration port nil)
>      (dequeue port))
>     ((number timeout)
>      (error "Timeout must be zero or nil"))



More information about the mcclim-devel mailing list