gi-gtk 3.0.41 → 3.0.42
raw patch · 4 files changed
+9/−5 lines, 4 filesdep ~haskell-gisetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: haskell-gi
API changes (from Hackage documentation)
+ GI.Gtk.Callbacks: drop_closures_ClipboardClearFunc :: ClipboardClearFunc -> ClipboardClearFunc_WithClosures
+ GI.Gtk.Callbacks: drop_closures_ClipboardGetFunc :: ClipboardGetFunc -> ClipboardGetFunc_WithClosures
+ GI.Gtk.Callbacks: noClipboardClearFunc_WithClosures :: Maybe ClipboardClearFunc_WithClosures
+ GI.Gtk.Callbacks: noClipboardGetFunc_WithClosures :: Maybe ClipboardGetFunc_WithClosures
+ GI.Gtk.Callbacks: type ClipboardClearFunc_WithClosures = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@userDataOrOwner@/: the /@userData@/ argument passed to @/gtk_clipboard_set_with_data()/@, -- or the /@owner@/ argument passed to @/gtk_clipboard_set_with_owner()/@ Ptr () -> IO ()
+ GI.Gtk.Callbacks: type ClipboardGetFunc_WithClosures = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@selectionData@/: a t'GI.Gtk.Structs.SelectionData.SelectionData' argument in which the requested -- data should be stored. SelectionData -> -- | /@info@/: the info field corresponding to the requested target from the -- t'GI.Gtk.Structs.TargetEntry.TargetEntry' array passed to @/gtk_clipboard_set_with_data()/@ or -- @/gtk_clipboard_set_with_owner()/@. Word32 -> -- | /@userDataOrOwner@/: the /@userData@/ argument passed to -- @/gtk_clipboard_set_with_data()/@, or the /@owner@/ argument passed to -- @/gtk_clipboard_set_with_owner()/@ Ptr () -> IO ()
- GI.Gtk.Callbacks: dynamic_ClipboardRichTextReceivedFunc :: (HasCallStack, MonadIO m, IsClipboard a) => FunPtr C_ClipboardRichTextReceivedFunc -> a -> Atom -> Maybe Text -> Word64 -> Ptr () -> m ()
+ GI.Gtk.Callbacks: dynamic_ClipboardRichTextReceivedFunc :: (HasCallStack, MonadIO m, IsClipboard a) => FunPtr C_ClipboardRichTextReceivedFunc -> a -> Atom -> Maybe Text -> CSize -> Ptr () -> m ()
- GI.Gtk.Callbacks: type C_ClipboardRichTextReceivedFunc = Ptr Clipboard -> Ptr Atom -> CString -> Word64 -> Ptr () -> IO ()
+ GI.Gtk.Callbacks: type C_ClipboardRichTextReceivedFunc = Ptr Clipboard -> Ptr Atom -> CString -> CSize -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type C_TextBufferDeserializeFunc = Ptr TextBuffer -> Ptr TextBuffer -> Ptr TextIter -> Ptr Word8 -> Word64 -> CInt -> Ptr () -> Ptr (Ptr GError) -> IO CInt
+ GI.Gtk.Callbacks: type C_TextBufferDeserializeFunc = Ptr TextBuffer -> Ptr TextBuffer -> Ptr TextIter -> Ptr Word8 -> CSize -> CInt -> Ptr () -> Ptr (Ptr GError) -> IO CInt
- GI.Gtk.Callbacks: type C_TextBufferSerializeFunc = Ptr TextBuffer -> Ptr TextBuffer -> Ptr TextIter -> Ptr TextIter -> Ptr Word64 -> Ptr () -> IO (Ptr Word8)
+ GI.Gtk.Callbacks: type C_TextBufferSerializeFunc = Ptr TextBuffer -> Ptr TextBuffer -> Ptr TextIter -> Ptr TextIter -> Ptr CSize -> Ptr () -> IO (Ptr Word8)
- GI.Gtk.Callbacks: type ClipboardClearFunc = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@userDataOrOwner@/: the /@userData@/ argument passed to @/gtk_clipboard_set_with_data()/@, -- or the /@owner@/ argument passed to @/gtk_clipboard_set_with_owner()/@ Ptr () -> IO ()
+ GI.Gtk.Callbacks: type ClipboardClearFunc = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> IO ()
- GI.Gtk.Callbacks: type ClipboardGetFunc = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@selectionData@/: a t'GI.Gtk.Structs.SelectionData.SelectionData' argument in which the requested -- data should be stored. SelectionData -> -- | /@info@/: the info field corresponding to the requested target from the -- t'GI.Gtk.Structs.TargetEntry.TargetEntry' array passed to @/gtk_clipboard_set_with_data()/@ or -- @/gtk_clipboard_set_with_owner()/@. Word32 -> -- | /@userDataOrOwner@/: the /@userData@/ argument passed to -- @/gtk_clipboard_set_with_data()/@, or the /@owner@/ argument passed to -- @/gtk_clipboard_set_with_owner()/@ Ptr () -> IO ()
+ GI.Gtk.Callbacks: type ClipboardGetFunc = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@selectionData@/: a t'GI.Gtk.Structs.SelectionData.SelectionData' argument in which the requested -- data should be stored. SelectionData -> -- | /@info@/: the info field corresponding to the requested target from the -- t'GI.Gtk.Structs.TargetEntry.TargetEntry' array passed to @/gtk_clipboard_set_with_data()/@ or -- @/gtk_clipboard_set_with_owner()/@. Word32 -> IO ()
- GI.Gtk.Callbacks: type ClipboardRichTextReceivedFunc = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@format@/: The format of the rich text Atom -> -- | /@text@/: the rich text received, as -- a UTF-8 encoded string, or 'P.Nothing' if retrieving the data failed. Maybe Text -> -- | /@length@/: Length of the text. Word64 -> IO ()
+ GI.Gtk.Callbacks: type ClipboardRichTextReceivedFunc = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@format@/: The format of the rich text Atom -> -- | /@text@/: the rich text received, as -- a UTF-8 encoded string, or 'P.Nothing' if retrieving the data failed. Maybe Text -> -- | /@length@/: Length of the text. CSize -> IO ()
- GI.Gtk.Callbacks: type ClipboardRichTextReceivedFunc_WithClosures = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@format@/: The format of the rich text Atom -> -- | /@text@/: the rich text received, as -- a UTF-8 encoded string, or 'P.Nothing' if retrieving the data failed. Maybe Text -> -- | /@length@/: Length of the text. Word64 -> -- | /@data@/: the /@userData@/ supplied to -- 'GI.Gtk.Objects.Clipboard.clipboardRequestRichText'. Ptr () -> IO ()
+ GI.Gtk.Callbacks: type ClipboardRichTextReceivedFunc_WithClosures = -- | /@clipboard@/: the t'GI.Gtk.Objects.Clipboard.Clipboard' Clipboard -> -- | /@format@/: The format of the rich text Atom -> -- | /@text@/: the rich text received, as -- a UTF-8 encoded string, or 'P.Nothing' if retrieving the data failed. Maybe Text -> -- | /@length@/: Length of the text. CSize -> -- | /@data@/: the /@userData@/ supplied to -- 'GI.Gtk.Objects.Clipboard.clipboardRequestRichText'. Ptr () -> IO ()
- GI.Gtk.Callbacks: wrap_ClipboardClearFunc :: Maybe (Ptr (FunPtr C_ClipboardClearFunc)) -> ClipboardClearFunc -> C_ClipboardClearFunc
+ GI.Gtk.Callbacks: wrap_ClipboardClearFunc :: Maybe (Ptr (FunPtr C_ClipboardClearFunc)) -> ClipboardClearFunc_WithClosures -> C_ClipboardClearFunc
- GI.Gtk.Callbacks: wrap_ClipboardGetFunc :: Maybe (Ptr (FunPtr C_ClipboardGetFunc)) -> ClipboardGetFunc -> C_ClipboardGetFunc
+ GI.Gtk.Callbacks: wrap_ClipboardGetFunc :: Maybe (Ptr (FunPtr C_ClipboardGetFunc)) -> ClipboardGetFunc_WithClosures -> C_ClipboardGetFunc
- GI.Gtk.Interfaces.RecentChooser: recentChooserGetUris :: (HasCallStack, MonadIO m, IsRecentChooser a) => a -> m ([Text], Word64)
+ GI.Gtk.Interfaces.RecentChooser: recentChooserGetUris :: (HasCallStack, MonadIO m, IsRecentChooser a) => a -> m ([Text], CSize)
- GI.Gtk.Objects.Builder: builderAddObjectsFromString :: (HasCallStack, MonadIO m, IsBuilder a) => a -> Text -> Word64 -> [Text] -> m Word32
+ GI.Gtk.Objects.Builder: builderAddObjectsFromString :: (HasCallStack, MonadIO m, IsBuilder a) => a -> Text -> CSize -> [Text] -> m Word32
- GI.Gtk.Objects.Builder: builderExtendWithTemplate :: (HasCallStack, MonadIO m, IsBuilder a, IsWidget b) => a -> b -> GType -> Text -> Word64 -> m Word32
+ GI.Gtk.Objects.Builder: builderExtendWithTemplate :: (HasCallStack, MonadIO m, IsBuilder a, IsWidget b) => a -> b -> GType -> Text -> CSize -> m Word32
- GI.Gtk.Objects.CellRenderer: cellRendererGetState :: (HasCallStack, MonadIO m, IsCellRenderer a, IsWidget b) => a -> Maybe b -> [CellRendererState] -> m [StateFlags]
+ GI.Gtk.Objects.CellRenderer: cellRendererGetState :: (HasCallStack, MonadIO m, IsCellRenderer a, IsWidget b) => Maybe a -> Maybe b -> [CellRendererState] -> m [StateFlags]
- GI.Gtk.Objects.EntryBuffer: entryBufferGetBytes :: (HasCallStack, MonadIO m, IsEntryBuffer a) => a -> m Word64
+ GI.Gtk.Objects.EntryBuffer: entryBufferGetBytes :: (HasCallStack, MonadIO m, IsEntryBuffer a) => a -> m CSize
- GI.Gtk.Objects.Window: windowGetGroup :: (HasCallStack, MonadIO m, IsWindow a) => a -> m WindowGroup
+ GI.Gtk.Objects.Window: windowGetGroup :: (HasCallStack, MonadIO m, IsWindow a) => Maybe a -> m WindowGroup
- GI.Gtk.Structs.RecentInfo: recentInfoGetAdded :: (HasCallStack, MonadIO m) => RecentInfo -> m CLong
+ GI.Gtk.Structs.RecentInfo: recentInfoGetAdded :: (HasCallStack, MonadIO m) => RecentInfo -> m CTime
- GI.Gtk.Structs.RecentInfo: recentInfoGetApplicationInfo :: (HasCallStack, MonadIO m) => RecentInfo -> Text -> m (Bool, Text, Word32, CLong)
+ GI.Gtk.Structs.RecentInfo: recentInfoGetApplicationInfo :: (HasCallStack, MonadIO m) => RecentInfo -> Text -> m (Bool, Text, Word32, CTime)
- GI.Gtk.Structs.RecentInfo: recentInfoGetApplications :: (HasCallStack, MonadIO m) => RecentInfo -> m ([Text], Word64)
+ GI.Gtk.Structs.RecentInfo: recentInfoGetApplications :: (HasCallStack, MonadIO m) => RecentInfo -> m ([Text], CSize)
- GI.Gtk.Structs.RecentInfo: recentInfoGetGroups :: (HasCallStack, MonadIO m) => RecentInfo -> m ([Text], Word64)
+ GI.Gtk.Structs.RecentInfo: recentInfoGetGroups :: (HasCallStack, MonadIO m) => RecentInfo -> m ([Text], CSize)
- GI.Gtk.Structs.RecentInfo: recentInfoGetModified :: (HasCallStack, MonadIO m) => RecentInfo -> m CLong
+ GI.Gtk.Structs.RecentInfo: recentInfoGetModified :: (HasCallStack, MonadIO m) => RecentInfo -> m CTime
- GI.Gtk.Structs.RecentInfo: recentInfoGetVisited :: (HasCallStack, MonadIO m) => RecentInfo -> m CLong
+ GI.Gtk.Structs.RecentInfo: recentInfoGetVisited :: (HasCallStack, MonadIO m) => RecentInfo -> m CTime
- GI.Gtk.Structs.TreePath: treePathFree :: (HasCallStack, MonadIO m) => TreePath -> m ()
+ GI.Gtk.Structs.TreePath: treePathFree :: (HasCallStack, MonadIO m) => Maybe TreePath -> m ()
- GI.Gtk.Structs.TreeRowReference: treeRowReferenceFree :: (HasCallStack, MonadIO m) => TreeRowReference -> m ()
+ GI.Gtk.Structs.TreeRowReference: treeRowReferenceFree :: (HasCallStack, MonadIO m) => Maybe TreeRowReference -> m ()
- GI.Gtk.Structs.TreeRowReference: treeRowReferenceValid :: (HasCallStack, MonadIO m) => TreeRowReference -> m Bool
+ GI.Gtk.Structs.TreeRowReference: treeRowReferenceValid :: (HasCallStack, MonadIO m) => Maybe TreeRowReference -> m Bool
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-gtk.cabal +3/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 3.0.42+++ Depend on haskell-gi >= 0.26.9 (see [issue 439](https://github.com/haskell-gi/haskell-gi/issues/439))+ ### 3.0.41 + Bump base lower bound
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk.html](https://hackage.haskell.org/package/gi-gtk-3.0.41/docs/GI-Gtk.html)+[https://hackage.haskell.org/package/gi-gtk-3.0.42/docs/GI-Gtk.html](https://hackage.haskell.org/package/gi-gtk-3.0.42/docs/GI-Gtk.html) For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -17,7 +17,7 @@ where name = "Gtk" version = "3.0" pkgName = "gi-gtk"- pkgVersion = "3.0.41"+ pkgVersion = "3.0.42" overridesFile = Just "Gtk.overrides" verbose = False outputDir = Nothing
gi-gtk.cabal view
@@ -1,5 +1,5 @@ name: gi-gtk-version: 3.0.41+version: 3.0.42 synopsis: Gtk bindings description: Bindings for Gtk, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -16,7 +16,7 @@ custom-setup setup-depends: base >= 4.11 && < 5, Cabal >= 1.24 && < 4,- haskell-gi >= 0.26 && < 0.27,+ haskell-gi >= 0.26.9 && < 0.27, gi-cairo == 1.0.*, gi-pango == 1.0.*, gi-gio == 2.0.*,@@ -35,7 +35,7 @@ pkgconfig-depends: gtk+-3.0 build-depends: base >= 4.7 && <5, haskell-gi-base >= 0.26 && < 0.27,- haskell-gi >= 0.26 && < 0.27,+ haskell-gi >= 0.26.9 && < 0.27, haskell-gi-overloading < 1.1, gi-cairo == 1.0.*, gi-pango == 1.0.*,