diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-09-19 19:20:31 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-09-20 21:06:08 +0200 |
commit | a31606db0d4b4e44cf3ff7f6efc9165ccf27a23e (patch) | |
tree | c82b2f0f29cf7cd14fa0c69a2891ce040c8ed798 /widgets/aerc.go | |
parent | aa01f0f6dc5faac9e332d4775bc6331e9a0c10ca (diff) | |
download | aerc-a31606db0d4b4e44cf3ff7f6efc9165ccf27a23e.tar.gz |
grid: remove unused method Children
The grid method Children returns the children of a grid, and is never
used. The function is reimplemented in both aerc.go and account.go, also
never called.
Remove these unused methods.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r-- | widgets/aerc.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index 2b7a6d86..4cd96a83 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -167,10 +167,6 @@ func (aerc *Aerc) Tick() bool { return more } -func (aerc *Aerc) Children() []ui.Drawable { - return aerc.grid.Children() -} - func (aerc *Aerc) OnInvalidate(onInvalidate func(d ui.Drawable)) { aerc.grid.OnInvalidate(func(_ ui.Drawable) { onInvalidate(aerc) |