also drop old dbus compat
This commit is contained in:
parent
eb8ef44133
commit
8f010bb55b
5 changed files with 4 additions and 16 deletions
|
@ -63,11 +63,7 @@ dbusThread urlrenderer = do
|
|||
wasmounted <- liftIO $ swapMVar mvar nowmounted
|
||||
handleMounts urlrenderer wasmounted nowmounted
|
||||
liftIO $ forM_ mountChanged $ \matcher ->
|
||||
#if MIN_VERSION_dbus(0,10,7)
|
||||
void $ addMatch client matcher handleevent
|
||||
#else
|
||||
listen client matcher handleevent
|
||||
#endif
|
||||
, do
|
||||
liftAnnex $
|
||||
warning "No known volume monitor available through dbus; falling back to mtab polling"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue