diff --git a/Graphics/Rendering/Pango/Types.chs b/Graphics/Rendering/Pango/Types.chs
--- a/Graphics/Rendering/Pango/Types.chs
+++ b/Graphics/Rendering/Pango/Types.chs
@@ -1,5 +1,6 @@
 {-# LANGUAGE CPP #-}
 {-# OPTIONS_HADDOCK hide #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
 -- -*-haskell-*-
 -- -------------------- automatically generated file - do not edit ----------
 --  Object hierarchy for the GIMP Toolkit (GTK) Binding for Haskell
@@ -37,31 +38,31 @@
 
   module System.Glib.GObject,
   PangoContext(PangoContext), PangoContextClass,
-  toPangoContext,
+  toPangoContext, 
   mkPangoContext, unPangoContext,
   castToPangoContext, gTypePangoContext,
   PangoLayoutRaw(PangoLayoutRaw), PangoLayoutRawClass,
-  toPangoLayoutRaw,
+  toPangoLayoutRaw, 
   mkPangoLayoutRaw, unPangoLayoutRaw,
   castToPangoLayoutRaw, gTypePangoLayoutRaw,
   Font(Font), FontClass,
-  toFont,
+  toFont, 
   mkFont, unFont,
   castToFont, gTypeFont,
   FontFamily(FontFamily), FontFamilyClass,
-  toFontFamily,
+  toFontFamily, 
   mkFontFamily, unFontFamily,
   castToFontFamily, gTypeFontFamily,
   FontFace(FontFace), FontFaceClass,
-  toFontFace,
+  toFontFace, 
   mkFontFace, unFontFace,
   castToFontFace, gTypeFontFace,
   FontMap(FontMap), FontMapClass,
-  toFontMap,
+  toFontMap, 
   mkFontMap, unFontMap,
   castToFontMap, gTypeFontMap,
   FontSet(FontSet), FontSetClass,
-  toFontSet,
+  toFontSet, 
   mkFontSet, unFontSet,
   castToFontSet, gTypeFontSet
   ) where
diff --git a/Gtk2HsSetup.hs b/Gtk2HsSetup.hs
--- a/Gtk2HsSetup.hs
+++ b/Gtk2HsSetup.hs
@@ -167,7 +167,11 @@
     let clbi = LBI.getComponentLocalBuildInfo lbi LBI.CLibName
 
     installedPkgInfoRaw <- generateRegistrationInfo
+#if CABAL_VERSION_CHECK(1,22,0)
+                           verbosity pkg lib lbi clbi inplace False distPref packageDb
+#else
                            verbosity pkg lib lbi clbi inplace distPref
+#endif
 
     dllsInScope <- getSearchPath >>= (filterM doesDirectoryExist) >>= getDlls
     let libs = fixLibs dllsInScope (extraLibraries installedPkgInfoRaw)
diff --git a/pango.cabal b/pango.cabal
--- a/pango.cabal
+++ b/pango.cabal
@@ -1,5 +1,5 @@
 Name:           pango
-Version:        0.13.0.4
+Version:        0.13.0.5
 License:        LGPL-2.1
 License-file:   COPYING
 Copyright:      (c) 2001-2010 The Gtk2Hs Team
