chiark / gitweb /
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 1155977335ed41716f7fdbe2158537d53e8e8528..2bd3f9b78111fcb7d5a42f7455ce9dc083f1b415 100644 (file)
@@ -84,6 +84,9 @@ (defclass border (boxed)
     :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