 -- * Pictures (and other objects) are stripped form the output.
 --
 textIterGetText :: TextIter -> TextIter -> IO String
-textIterGetText end start = do
+textIterGetText start end = do
   cStr <- {#call text_iter_get_text#} start end
   str <- peekCString cStr
   {#call unsafe g_free#} (castPtr cStr)

-- * Pictures (and other objects) are represented by 0xFFFC.
--
textIterGetVisibleSlice :: TextIter -> TextIter -> IO String
textIterGetVisibleSlice end start = do
  cStr <- {#call text_iter_get_visible_slice#} start end
  str <- peekCString cStr
  {#call unsafe g_free#} (castPtr cStr)

-- * Pictures (and other objects) are stripped form the output.
--
textIterGetVisibleText :: TextIter -> TextIter -> IO String
textIterGetVisibleText start end = do
  cStr <- {#call text_iter_get_visible_text#} start end
  str <- peekCString cStr
  {#call unsafe g_free#} (castPtr cStr)
