summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-01-31 19:35:46 +0100
committerjao <jao@gnu.org>2018-01-31 19:35:46 +0100
commitb38cd51131dfd1037e119ec927fd8881cc2efe18 (patch)
tree6f9f4da17bb8ab95d80c8f452d72a3b0fda062c5 /src
parent0f4668cd35c8d5c9f6636b926422570debaeeab7 (diff)
downloadxmobar-b38cd51131dfd1037e119ec927fd8881cc2efe18.tar.gz
xmobar-b38cd51131dfd1037e119ec927fd8881cc2efe18.tar.bz2
Let's try travis.sh (hlint warnings) again
Diffstat (limited to 'src')
-rw-r--r--src/Bitmap.hs4
-rw-r--r--src/Signal.hs2
-rw-r--r--src/Window.hs4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/Bitmap.hs b/src/Bitmap.hs
index 11728d4..494c39c 100644
--- a/src/Bitmap.hs
+++ b/src/Bitmap.hs
@@ -2,7 +2,7 @@
-----------------------------------------------------------------------------
-- |
-- Module : Bitmap
--- Copyright : (C) 2013, 2015, 2017 Alexander Polakov
+-- Copyright : (C) 2013, 2015, 2017, 2018 Alexander Polakov
-- License : BSD3
--
-- Maintainer : jao@gnu.org
@@ -18,7 +18,7 @@ module Bitmap
import Control.Monad
import Control.Monad.Trans(MonadIO(..))
-import Data.Map hiding (foldr, map, filter)
+import Data.Map hiding (map, filter)
import Graphics.X11.Xlib
import System.Directory (doesFileExist)
import System.FilePath ((</>))
diff --git a/src/Signal.hs b/src/Signal.hs
index a828db6..27db46b 100644
--- a/src/Signal.hs
+++ b/src/Signal.hs
@@ -20,7 +20,7 @@ module Signal where
import Data.Typeable (Typeable)
import Control.Concurrent.STM
-import Control.Exception hiding (handle)
+import Control.Exception
import System.Posix.Signals
import Graphics.X11.Types (Button)
import Graphics.X11.Xlib.Types (Position)
diff --git a/src/Window.hs b/src/Window.hs
index d2506db..829ab8d 100644
--- a/src/Window.hs
+++ b/src/Window.hs
@@ -1,7 +1,7 @@
-----------------------------------------------------------------------------
-- |
-- Module : Window
--- Copyright : (c) 2011-17 Jose A. Ortega Ruiz
+-- Copyright : (c) 2011-18 Jose A. Ortega Ruiz
-- : (c) 2012 Jochen Keil
-- License : BSD-style (see LICENSE)
--
@@ -18,7 +18,7 @@ module Window where
import Prelude
import Control.Applicative ((<$>))
import Control.Monad (when, unless)
-import Graphics.X11.Xlib hiding (textExtents, textWidth)
+import Graphics.X11.Xlib hiding (textExtents)
import Graphics.X11.Xlib.Extras
import Graphics.X11.Xinerama
import Foreign.C.Types (CLong)