diff --git a/src/Graphics/XDot/Viewer.hs b/src/Graphics/XDot/Viewer.hs
--- a/src/Graphics/XDot/Viewer.hs
+++ b/src/Graphics/XDot/Viewer.hs
@@ -14,7 +14,10 @@
 
 import Graphics.XDot.Types hiding (w, h, filled, alignment, text, name, size)
 
-import Graphics.UI.Gtk hiding (Color, Rectangle, descent, Object, draw)
+import Graphics.UI.Gtk (PangoRectangle(..), layoutSetFontDescription,
+  layoutGetExtents, layoutContextChanged, fontDescriptionFromString,
+  fontDescriptionSetSize, showLayout, cairoContextSetFontOptions,
+  cairoContextGetFontOptions, layoutGetContext, createLayout)
 import Graphics.Rendering.Cairo hiding (x, y)
 
 import Control.Monad.State hiding (State)
diff --git a/xdot.cabal b/xdot.cabal
--- a/xdot.cabal
+++ b/xdot.cabal
@@ -1,5 +1,5 @@
 name:               xdot
-version:            0.2.4.5
+version:            0.2.4.6
 license:            BSD3
 license-file:       LICENSE
 category:           Graphs, Graphics
