chiark / gitweb /
Fix for CMUCL 18c
[clg] / gdk / gdkevents.lisp
index 9721c7aa5c7773c29f9800d3aaccae7fcf26e65f..b1018111a8461804a114e0f40323a41912e6b137 100644 (file)
@@ -15,7 +15,7 @@
 ;; License along with this library; if not, write to the Free Software
 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-;; $Id: gdkevents.lisp,v 1.1 2001-05-11 16:20:20 espen Exp $
+;; $Id: gdkevents.lisp,v 1.2 2001-05-31 12:36:39 espen Exp $
 
 (in-package "GDK")
 
@@ -68,20 +68,20 @@ (defbinding %event-new () pointer)
 
 (eval-when (:compile-toplevel :load-toplevel :execute)
   (defclass event-class (proxy-class)
-    ((event-type :reader event-class-type))))
-
-
-(defmethod shared-initialize ((class event-class) names
-                             &rest initargs &key type)
-  (declare (ignore initargs names))
-  (call-next-method)
-  (setf (slot-value class 'event-type) (first type))
-  (setf (gethash (first type) *event-classes*) class))
+    ((event-type :reader event-class-type)))
 
+  
+  (defmethod shared-initialize ((class event-class) names
+                               &rest initargs &key type)
+    (declare (ignore initargs names))
+    (call-next-method)
+    (setf (slot-value class 'event-type) (first type))
+    (setf (gethash (first type) *event-classes*) class))
+  
 
-(defmethod validate-superclass
-  ((class event-class) (super pcl::standard-class))
-  (subtypep (class-name super) 'event))
+  (defmethod validate-superclass
+    ((class event-class) (super pcl::standard-class))
+    (subtypep (class-name super) 'event)))
 
 
 ;;;;