Commit 1f73de25 authored by Clint Adams's avatar Clint Adams
Browse files

taffybar: patch for newer GHC

parent 9491ef21
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
taffybar (3.0.0-2) unstable; urgency=medium

  * Patch for newer GHC.

 -- Clint Adams <clint@debian.org>  Sat, 07 Sep 2019 13:18:40 -0400

taffybar (3.0.0-1) unstable; urgency=medium

  * New upstream version.
+11 −0
Original line number Diff line number Diff line
--- a/src/System/Taffybar/WindowIcon.hs
+++ b/src/System/Taffybar/WindowIcon.hs
@@ -88,7 +88,7 @@
   :: MonadIO m
   => Int32 -> Word32 -> m Gdk.Pixbuf
 pixBufFromColor imgSize c = do
-  Just pixbuf <- Gdk.pixbufNew Gdk.ColorspaceRgb True 8 imgSize imgSize
+  pixbuf <- fromJust <$> Gdk.pixbufNew Gdk.ColorspaceRgb True 8 imgSize imgSize
   Gdk.pixbufFill pixbuf c
   return pixbuf
 
+1 −0
Original line number Diff line number Diff line
man-page.patch
newer-ghc