chiark / gitweb /
Automatic initialization after loading
authorespen <espen>
Sun, 31 Oct 2004 14:44:05 +0000 (14:44 +0000)
committerespen <espen>
Sun, 31 Oct 2004 14:44:05 +0000 (14:44 +0000)
gtk/gtk.asd
gtk/gtkobject.lisp

index 34752c6abe53edfe9c54125f74e683630ecad0aa..db9ae6c26946e9955df0058490b3db7482e03fae 100644 (file)
@@ -3,7 +3,8 @@
 (asdf:oos 'asdf:load-op :clg-tools)
 
 (defpackage "GTK-SYSTEM"
-  (:use "COMMON-LISP" "ASDF" "PKG-CONFIG"))
+  (:use "COMMON-LISP" "ASDF" "PKG-CONFIG")
+  (:export "CLG-INIT"))
 
 (in-package "GTK-SYSTEM")
 
@@ -26,4 +27,5 @@
                 (:file "gtkcontainer" :depends-on ("gtktypes"))
                 (:file "gtk" :depends-on ("gtktypes"))
                 (:file "gtkutils" :depends-on ("gtk"))
-                (:file "export" :depends-on ("gtktypes" "gtk"))))
+                (:file "export" :depends-on ("gtktypes" "gtk")))
+    :perform (load-op :after (op gtk) (clg-init)))
index 6a5cad46383ddeb71f2104884e861bbfebf9258a..a38ae9eee783dec7683cde2e19d70c4584e23da2 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: gtkobject.lisp,v 1.16 2004/10/31 12:05:52 espen Exp $
+;; $Id: gtkobject.lisp,v 1.17 2004/10/31 14:44:05 espen Exp $
 
 
 (in-package "GTK")
@@ -92,6 +92,7 @@ (defbinding (gtk-init "gtk_parse_args") () nil
   (nil null)
   (nil null))
 
+(import 'gtk-system:clg-init)
 
 (defun clg-init (&optional display)
   "Initializes the system and starts the event handling"