gi-gtk-declarative-app-simple 0.5.0 → 0.6.0
raw patch · 3 files changed
+9/−6 lines, 3 filesdep ~gi-gtk-declarativedep ~haskell-gidep ~haskell-gi-basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gi-gtk-declarative, haskell-gi, haskell-gi-base
API changes (from Hackage documentation)
- GI.Gtk.Declarative.App.Simple: run :: (Typeable event, IsWindow window, IsBin window) => App window state event -> IO state
+ GI.Gtk.Declarative.App.Simple: run :: IsBin window => App window state event -> IO state
- GI.Gtk.Declarative.App.Simple: runLoop :: (Typeable event, IsWindow window, IsBin window) => App window state event -> IO state
+ GI.Gtk.Declarative.App.Simple: runLoop :: IsBin window => App window state event -> IO state
Files
- CHANGELOG.md +3/−0
- gi-gtk-declarative-app-simple.cabal +4/−4
- src/GI/Gtk/Declarative/App/Simple.hs +2/−2
CHANGELOG.md view
@@ -1,3 +1,6 @@+* 0.6.0+ - Allow dependency haskell-gi-0.23+ - Remove redundant code * 0.5.0 - New `CustomWidget` API * 0.4.3
gi-gtk-declarative-app-simple.cabal view
@@ -1,5 +1,5 @@ name: gi-gtk-declarative-app-simple-version: 0.5.0+version: 0.6.0 synopsis: Declarative GTK+ programming in Haskell in the style of Pux. description: Experimental application architecture in the style of PureScript Pux, built on top of gi-gtk-declarative.@@ -27,13 +27,13 @@ , gi-glib , gi-gtk >= 3 && <4 , gi-gdk- , haskell-gi >= 0.21 && <0.23- , haskell-gi-base >= 0.21 && <0.23+ , haskell-gi >= 0.21 && <0.24+ , haskell-gi-base >= 0.21 && <0.24 , haskell-gi-overloading == 1.0 , pipes >= 4 && <5 , pipes-concurrency >= 2 && <3 , text- , gi-gtk-declarative >= 0.4 && <0.6+ , gi-gtk-declarative >= 0.4 && <0.7 hs-source-dirs: src default-language: Haskell2010 ghc-options: -Wall
src/GI/Gtk/Declarative/App/Simple.hs view
@@ -70,7 +70,7 @@ -- convenience function that is highly recommended. If you need more -- flexibility, e.g. to set up GTK+ yourself, use 'runLoop' instead. run- :: (Typeable event, Gtk.IsWindow window, Gtk.IsBin window)+ :: Gtk.IsBin window => App window state event -- ^ Application to run -> IO state run app = do@@ -96,7 +96,7 @@ -- Gtk.main -- @ runLoop- :: (Typeable event, Gtk.IsWindow window, Gtk.IsBin window)+ :: Gtk.IsBin window => App window state event -> IO state runLoop App {..} = do