Paste: deploy crash
Author: | blei |
Mode: | factor |
Date: | Mon, 26 Jul 2010 18:14:32 |
Plain Text |
IN: ui.backend.gtk
[..]
: get-icon-data ( -- byte-array )
"vocab:ui/backend/gtk/icon.png" binary file-contents ;
============
in file tools.deploy.shaker.gtk-icon :
USING: kernel tools.deploy.shaker literals namespaces
vocabs.loader io.pathnames io.files io.encodings.binary ;
IN: ui.backend.gtk
CONSTANT: get-icon-data
$[
deploy-vocab get
dup vocab-dir "icon.png" append-path vocab-append-path
[ exists? ] keep "vocab:ui/backend/gtk/icon.png" ?
binary file-contents
]
New Annotation