chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #586: qt-light egg: qt:stop function doesn't work


From: Chicken Trac
Subject: Re: [Chicken-janitors] #586: qt-light egg: qt:stop function doesn't work on a qt-timer object
Date: Wed, 01 Jun 2011 19:33:31 -0000

#586: qt-light egg: qt:stop function doesn't work on a qt-timer object
-------------------------+--------------------------------------------------
  Reporter:  ewfalor     |       Owner:  felix   
      Type:  defect      |      Status:  assigned
  Priority:  major       |   Milestone:          
 Component:  extensions  |     Version:  4.6.x   
Resolution:              |    Keywords:  qt-light
-------------------------+--------------------------------------------------

Comment(by ewfalor):

 After reading a little bit of the protobj documentation, I found that the
 problem is that the assignment of a method to the stop slot was incorrect:
 the name stop shouldn't be quoted:

 -(! <qt-timer> 'stop
 +(! <qt-timer> stop
     (lambda (self) (qt:stoptimer self)))

 Although it's a two-byte change, I'll attach a patch.  It's two bytes
 because I took the liberty of fixing the same problem with the stop method
 on a <qt-sound> object.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/586#comment:3>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]