Load the Gtk option. |#
-(define ((option-note-writer option) port)
- (write-string "Loading " port)
- (write-string (symbol-name option) port)
- (write-string " option" port))
-
-(define (ld option)
- (with-notification
- (option-note-writer option)
- (lambda () (load-option option))))
-
-(with-notification
- (option-note-writer 'GTK)
- (lambda ()
- (fluid-let ((load/suppress-loading-message? #t))
- (ld 'SUBPROCESS) ;; Hacked in main.scm.
- (ld 'SOS)
- (ld 'FFI) ;; Referenced in gtk.pkg.
- (load-package-set "gtk"))
- (add-subsystem-identification! "Gtk" '(0 4))
- ((access gtk-start (->environment '(gtk main))))))
\ No newline at end of file
+(load-option 'SUBPROCESS) ; Hacked in main.scm.
+(load-option 'SOS)
+(load-option 'FFI) ; Referenced in gtk.pkg.
+(with-loader-base-uri (system-library-uri "gtk/")
+ (lambda ()
+ (load-package-set "gtk")))
+(add-subsystem-identification! "Gtk" '(0 4))
+((access gtk-start (->environment '(gtk main))))
\ No newline at end of file