diff --git a/basis/cocoa/touchbar/touchbar.factor b/basis/cocoa/touchbar/touchbar.factor index e040840b93..8f4a70420e 100644 --- a/basis/cocoa/touchbar/touchbar.factor +++ b/basis/cocoa/touchbar/touchbar.factor @@ -12,6 +12,8 @@ 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 { id { id SEL id } } ?-> initWithIdentifier: :> item