summaryrefslogtreecommitdiff
path: root/Assistant/Threads/MountWatcher.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-22 16:23:41 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-22 16:23:41 -0400
commit8112d0a6978caad2b2852b41b8eb284f9a5d4605 (patch)
tree200a9291c299c26650f7dfa03f7253f2c2c6ef8b /Assistant/Threads/MountWatcher.hs
parent05abf0e4e99e7a146505da09d275c56fd0aafad4 (diff)
also drop old dbus compat
Diffstat (limited to 'Assistant/Threads/MountWatcher.hs')
-rw-r--r--Assistant/Threads/MountWatcher.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Assistant/Threads/MountWatcher.hs b/Assistant/Threads/MountWatcher.hs
index 023af53cb..3ccdd1adc 100644
--- a/Assistant/Threads/MountWatcher.hs
+++ b/Assistant/Threads/MountWatcher.hs
@@ -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"