diff --git a/Graphics/UI/Gtk/SourceView/SourceView.chs b/Graphics/UI/Gtk/SourceView/SourceView.chs
--- a/Graphics/UI/Gtk/SourceView/SourceView.chs
+++ b/Graphics/UI/Gtk/SourceView/SourceView.chs
@@ -122,6 +122,7 @@
 import System.Glib.Attributes
 import System.Glib.FFI
 import System.Glib.UTFString
+import System.Glib.Flags (toFlags, fromFlags)
 
 {#import Graphics.UI.Gtk.SourceView.Signals#}
 {#import Graphics.UI.Gtk.SourceView.Types#}
@@ -313,21 +314,21 @@
 sourceViewGetTabWidth sv = liftM fromIntegral $
   {#call unsafe source_view_get_tab_width#} (toSourceView sv)
 
--- | Set if and how the spaces should be visualized. Specifying flags as 0 will disable display of
+-- | Set if and how the spaces should be visualized. Specifying flags as [] will disable display of
 -- spaces.
 sourceViewSetDrawSpaces :: SourceViewClass sv => sv
-                        -> SourceDrawSpacesFlags -- ^ @flags@ 'SourceDrawSpacesFlags' specifing how white spaces should be displayed
+                        -> [SourceDrawSpacesFlags] -- ^ @flags@ 'SourceDrawSpacesFlags' specifing how white spaces should be displayed
                         -> IO ()
 sourceViewSetDrawSpaces view flags =
   {#call gtk_source_view_set_draw_spaces #}
     (toSourceView view)
-    (fromIntegral $ fromEnum flags)
+    (fromIntegral $ fromFlags flags)
 
 -- | Returns the 'SourceDrawSpacesFlags' specifying if and how spaces should be displayed for this view.
 sourceViewGetDrawSpaces :: SourceViewClass sv => sv
-                        -> IO SourceDrawSpacesFlags -- ^ returns the 'SourceDrawSpacesFlags', 0 if no spaces should be drawn.
+                        -> IO [SourceDrawSpacesFlags] -- ^ returns the 'SourceDrawSpacesFlags', [] if no spaces should be drawn.
 sourceViewGetDrawSpaces view =
-  liftM (toEnum . fromIntegral) $
+  liftM (toFlags . fromIntegral) $
   {#call gtk_source_view_get_draw_spaces #}
      (toSourceView view)
 
@@ -450,8 +451,8 @@
 
 -- | Set if and how the spaces should be visualized.
 --
-sourceViewDrawSpaces :: SourceViewClass sv => Attr sv SourceDrawSpacesFlags
-sourceViewDrawSpaces = newAttrFromEnumProperty "draw-spaces" {#call fun gtk_source_draw_spaces_flags_get_type#}
+sourceViewDrawSpaces :: SourceViewClass sv => Attr sv [SourceDrawSpacesFlags]
+sourceViewDrawSpaces = newAttrFromFlagsProperty "draw-spaces" {#call fun gtk_source_draw_spaces_flags_get_type#}
 
 -- | Whether to highlight the current line.
 --
diff --git a/Graphics/UI/Gtk/SourceView/Types.chs b/Graphics/UI/Gtk/SourceView/Types.chs
--- a/Graphics/UI/Gtk/SourceView/Types.chs
+++ b/Graphics/UI/Gtk/SourceView/Types.chs
@@ -112,7 +112,7 @@
 #else
 import Foreign.ForeignPtr (unsafeForeignPtrToPtr)
 #endif
-import Foreign.C.Types    (CULong(..), CUInt(..))
+import Foreign.C.Types    (CULong(..), CUInt(..), CULLong(..))
 import System.Glib.GType  (GType, typeInstanceIsA)
 {#import Graphics.UI.GtkInternals#}
 
@@ -379,7 +379,6 @@
 instance BinClass SourceCompletionInfo
 instance ContainerClass SourceCompletionInfo
 instance WidgetClass SourceCompletionInfo
-instance TextMarkClass SourceCompletionInfo
 instance GObjectClass SourceCompletionInfo where
   toGObject = GObject . castForeignPtr . unSourceCompletionInfo
   unsafeCastGObject = SourceCompletionInfo . castForeignPtr . unGObject
@@ -406,7 +405,6 @@
 instance TextViewClass SourceView
 instance ContainerClass SourceView
 instance WidgetClass SourceView
-instance TextMarkClass SourceView
 instance GObjectClass SourceView where
   toGObject = GObject . castForeignPtr . unSourceView
   unsafeCastGObject = SourceView . castForeignPtr . unGObject
diff --git a/gtksourceview3.cabal b/gtksourceview3.cabal
--- a/gtksourceview3.cabal
+++ b/gtksourceview3.cabal
@@ -1,12 +1,12 @@
 Name:           gtksourceview3
-Version:        0.13.0.0
+Version:        0.13.1.0
 License:        LGPL-2.1
 License-file:   COPYING
 Copyright:      (c) 2001-2010 The Gtk2Hs Team
 Author:         Duncan Coutts, Peter Gavin, Axel Simon
 Maintainer:     gtk2hs-users@lists.sourceforge.net
 Build-Type:     Custom
-Cabal-Version:  >= 1.8
+Cabal-Version:  >= 1.18
 Stability:      provisional
 homepage:       http://projects.haskell.org/gtk2hs/
 bug-reports:    https://github.com/gtk2hs/gtksourceview/issues
@@ -71,7 +71,8 @@
           Graphics.UI.Gtk.SourceView.Types
           Graphics.UI.Gtk.SourceView.Signals
 
-        extensions:     ForeignFunctionInterface
+        default-language:   Haskell98
+        default-extensions: ForeignFunctionInterface
 
         x-Signals-File:  Graphics/UI/Gtk/SourceView/Signals.chs
         x-Signals-Modname: Graphics.UI.Gtk.SourceView.Signals
