summaryrefslogtreecommitdiffhomepage
path: root/src/IPC
diff options
context:
space:
mode:
Diffstat (limited to 'src/IPC')
-rw-r--r--src/IPC/DBus.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/IPC/DBus.hs b/src/IPC/DBus.hs
index 64e3cca..4357c48 100644
--- a/src/IPC/DBus.hs
+++ b/src/IPC/DBus.hs
@@ -20,10 +20,7 @@ import Control.Monad ((>=>), join, when)
import Control.Concurrent
import Signal
-
-safeHead :: [a] -> Maybe a
-safeHead [] = Nothing
-safeHead (x:_) = Just x
+import Plugins.Utils (safeHead)
instance IsVariant SignalType where
toVariant = toVariant . show