chiark / gitweb /
Bug fix
authorespen <espen>
Mon, 7 Jan 2008 16:02:23 +0000 (16:02 +0000)
committerespen <espen>
Mon, 7 Jan 2008 16:02:23 +0000 (16:02 +0000)
gdk/gdkevents.lisp

index 2a270a82bc83f495c427c282d3708d7c40ac7183..f7e00bb844e29c2b425dacb8e343f5a9ea92f0df 100644 (file)
@@ -20,7 +20,7 @@
 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-;; $Id: gdkevents.lisp,v 1.12 2006/04/26 09:20:20 espen Exp $
+;; $Id: gdkevents.lisp,v 1.13 2008/01/07 16:02:23 espen Exp $
 
 (in-package "GDK")
 
@@ -75,14 +75,13 @@   (defclass event (boxed)
       :type (bool 8)))
     (:metaclass boxed-class)))
 
-(defmethod initialize-instance ((event event) &rest initargs)
+(defmethod initialize-instance :after ((event event) &rest initargs)
   (declare (ignore initargs))
-  (call-next-method)
   (setf (slot-value event '%type) (event-class-type (class-of event))))
 
-(defmethod make-proxy-instance :around ((class (eql (find-class 'event))) location &rest initargs)
+(defmethod make-proxy-instance ((class (eql (find-class 'event))) location &rest initargs)
   (let ((class (%event-class location)))
-    (apply #'call-next-method class location initargs)))
+    (apply #'make-proxy-instance class location initargs)))
 
 
 (defclass timed-event (event)