]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/cocoa/touchbar/touchbar.factor
factor: trim using lists
[factor.git] / basis / cocoa / touchbar / touchbar.factor
index 8f4a70420ea28508919613c1dcc30495e77ad57d..701c0dc6acbadd86c1caf4c0038bd9bb9470a8f5 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2017 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien.c-types cocoa cocoa.classes cocoa.messages
-cocoa.runtime combinators core-foundation.strings kernel locals
-;
+cocoa.runtime combinators core-foundation.strings kernel ;
 IN: cocoa.touchbar
 
 : make-touchbar ( seq self -- touchbar )
@@ -12,8 +11,6 @@ IN: cocoa.touchbar
         [ nip ]
     } 2cleave ;
 
-{ id { id SEL id id SEL } } cache-stubs
-
 :: make-NSTouchBar-button ( self identifier label-string action-string -- button )
     NSCustomTouchBarItem -> alloc
         identifier <CFString> { id { id SEL id } } ?-> initWithIdentifier: :> item