removed unused code

This commit is contained in:
千住柱間 2025-09-17 23:02:52 -04:00
commit 197c806412
Signed by: hashirama
GPG key ID: 53E62470A86BC185

View file

@ -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