GTK: remove obsolete void usage
This commit is contained in:
parent
680a75f5be
commit
9d572c8a6e
@ -39,10 +39,6 @@ import Control.Exception
|
|||||||
try
|
try
|
||||||
, SomeException
|
, SomeException
|
||||||
)
|
)
|
||||||
import Control.Monad
|
|
||||||
(
|
|
||||||
void
|
|
||||||
)
|
|
||||||
import Data.Foldable
|
import Data.Foldable
|
||||||
(
|
(
|
||||||
for_
|
for_
|
||||||
@ -135,7 +131,7 @@ switchView mygui myview iofmv = do
|
|||||||
containerAdd (scroll mygui) nview
|
containerAdd (scroll mygui) nview
|
||||||
widgetShow nview
|
widgetShow nview
|
||||||
|
|
||||||
void $ refreshView mygui myview Nothing
|
refreshView mygui myview Nothing
|
||||||
|
|
||||||
|
|
||||||
-- |Createss an IconView.
|
-- |Createss an IconView.
|
||||||
@ -360,7 +356,7 @@ constructView mygui myview = do
|
|||||||
newi
|
newi
|
||||||
[Move, MoveIn, MoveOut, MoveSelf, Create, Delete, DeleteSelf]
|
[Move, MoveIn, MoveOut, MoveSelf, Create, Delete, DeleteSelf]
|
||||||
(P.fromAbs cdirp)
|
(P.fromAbs cdirp)
|
||||||
(\_ -> postGUIAsync $ void $refreshView mygui myview (Just $ cdirp))
|
(\_ -> postGUIAsync $ refreshView mygui myview (Just $ cdirp))
|
||||||
putMVar (inotify myview) newi
|
putMVar (inotify myview) newi
|
||||||
|
|
||||||
return ()
|
return ()
|
||||||
|
Loading…
Reference in New Issue
Block a user