From aec21053f742385c3937422eb1d35206d7cbd94c Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Sun, 23 Nov 2014 13:57:04 -0500 Subject: [PATCH] safer not on os x --- chaos/gui.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chaos/gui.rkt b/chaos/gui.rkt index 72fcdff..6854db2 100644 --- a/chaos/gui.rkt +++ b/chaos/gui.rkt @@ -87,8 +87,8 @@ icon (read-bitmap icon))) (when (eq? 'macosx (system-type 'os)) - (local-require drracket/private/dock-icon) - (set-dock-tile-bitmap icon-bm))) + ((dynamic-require 'drracket/private/dock-icon 'set-dock-tile-bitmap) + icon-bm))) (define depth-box (box 0))