chiark / gitweb /
Delete some imports from SB-PCL
[clg] / gtk / gtktypes.lisp
index dfa9c0517d316e6c30a1e3260c75a564041dec29..1155977335ed41716f7fdbe2158537d53e8e8528 100644 (file)
@@ -145,6 +145,11 @@ (define-type-method reader-function ((type position) &optional ref)
   (declare (ignore type ref))
   (reader-function 'int))
 
+;; Register GtkObject in advance so that eg GtkTooltips, which inherits from it,
+;; gets a proper supertype. TODO: This is a hack. Where is it supposed to
+;; happen?
+(register-type '%object "GtkObject")
+
 (define-types-by-introspection "Gtk"
   ;; Manually defined
   ("GtkObject" :ignore t)