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