]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/ui.factor
change add-init-hook to add-startup-hook, new add-shutdown-hook word
[factor.git] / basis / ui / ui.factor
index aa3c549cf0e2fdeb7c98a25592d8a31184809766..c75f5956b3f1564a867342676320dc34dd0eff0e 100644 (file)
@@ -236,7 +236,7 @@ M: object close-window
 [
     f \ ui-running set-global
     <flag> ui-notify-flag set-global
-] "ui" add-init-hook
+] "ui" add-startup-hook
 
 : with-ui ( quot -- )
     ui-running? [ call( -- ) ] [ '[ init-ui @ ] (with-ui) ] if ;