removed unused code
This commit is contained in:
parent
69b12db443
commit
197c806412
1 changed files with 1 additions and 7 deletions
|
|
@ -32,7 +32,6 @@ main = do
|
|||
let cfg = home </> ".local" </> "share" </> "wazajisho" </> "config"
|
||||
|
||||
filesVar <- newTVarIO []
|
||||
iconsVar <- newTVarIO []
|
||||
|
||||
getFolderAsync fd window cfg $ \mPath -> case mPath of
|
||||
Nothing -> putStrLn "Callback: no folder selected"
|
||||
|
|
@ -42,12 +41,7 @@ main = do
|
|||
putStrLn $ "Callback: listFiles found: " ++ show fs
|
||||
atomically $ do
|
||||
writeTVar filesVar fs
|
||||
writeTVar iconsVar (findIcons fs)
|
||||
-- read it right back out and print
|
||||
newIcons <- readTVarIO iconsVar
|
||||
putStrLn $ "After write, iconsVar has: " ++ show newIcons
|
||||
|
||||
|
||||
|
||||
|
||||
rootVBox <- Gtk.boxNew Gtk.OrientationVertical 6
|
||||
topHBox <- Gtk.boxNew Gtk.OrientationHorizontal 6
|
||||
|
|
|
|||
Loading…
Reference in a new issue