Ensure that BORDER is defined at compile time.
authorRupert Swarbrick <rswarbrick@gmail.com>
Sun, 29 Apr 2012 14:35:23 +0000 (15:35 +0100)
committerRupert Swarbrick <rswarbrick@gmail.com>
Sun, 29 Apr 2012 16:26:04 +0000 (17:26 +0100)
Otherwise ENTRY ends up with an undefined type for its slot.

gtk/gtktypes.lisp

index 1155977..2bd3f9b 100644 (file)
@@ -84,6 +84,9 @@
     :type int))
   (:metaclass boxed-class))
 
+(eval-when (:compile-toplevel :load-toplevel :execute)
+  (register-type 'border '|gtk_border_get_type|))
+
 (defclass stock-item (struct)
   ((id
     :allocation :alien