diff options
Diffstat (limited to 'UI/Zenity.hs')
-rw-r--r-- | UI/Zenity.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UI/Zenity.hs b/UI/Zenity.hs index b74631f..228b11a 100644 --- a/UI/Zenity.hs +++ b/UI/Zenity.hs @@ -115,7 +115,7 @@ myPromptKeyId title desc l = do return $ Just (KeyId (BU8.fromString kid)) else return Nothing -myWithProgress :: Title -> Desc -> ((Percent -> IO ()) -> IO ()) -> IO () +myWithProgress :: Title -> Desc -> ((Percent -> IO ()) -> IO a) -> IO a myWithProgress title desc a = bracket setup teardown (a . sendpercent) where setup = do |