From fcf4ad79567cc61f36a22cb2f77482aed8ec07a8 Mon Sep 17 00:00:00 2001 From: Gareth Daniel Smith Date: Mon, 27 Jan 2020 20:21:23 +0000 Subject: [PATCH] Document the destroy method in Patchable --- gi-gtk-declarative/src/GI/Gtk/Declarative/Patch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gi-gtk-declarative/src/GI/Gtk/Declarative/Patch.hs b/gi-gtk-declarative/src/GI/Gtk/Declarative/Patch.hs index c9604ee..9c32204 100644 --- a/gi-gtk-declarative/src/GI/Gtk/Declarative/Patch.hs +++ b/gi-gtk-declarative/src/GI/Gtk/Declarative/Patch.hs @@ -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 ()