X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/14021fee579226a95bc524bcc0e24eccd517c2cc..406aa97b03d3f732c280b04e3f6c12cfc66e338f:/gtk/gtktypes.lisp diff --git a/gtk/gtktypes.lisp b/gtk/gtktypes.lisp index dfa9c05..1155977 100644 --- a/gtk/gtktypes.lisp +++ b/gtk/gtktypes.lisp @@ -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)