Skip to content

Commit

Permalink
Document the destroy method in Patchable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dretch committed Jan 27, 2020
1 parent 4dc222c commit fcf4ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gi-gtk-declarative/src/GI/Gtk/Declarative/Patch.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ class Patchable widget where
-- | Given two declarative widgets of the same widget type (but not
-- necessarily of the same event types,) calculate a 'Patch'.
patch :: SomeState -> widget e1 -> widget e2 -> Patch
-- | Todo: ...
-- | Given a previously created declarative widget, destroy it.
destroy :: SomeState -> widget e -> IO ()

0 comments on commit fcf4ad7

Please sign in to comment.