From 607ece83029a7df7ec40ab2084a7e8a69515880c Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 10 Feb 2019 22:46:13 +0100 Subject: [PATCH] Fix build --- widgets/account.go | 2 +- widgets/aerc.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/widgets/account.go b/widgets/account.go index 70686fb..3848bbf 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -86,7 +86,7 @@ func NewAccountView(conf *config.AccountConfig, return acct } -func (acct *AccountView) Children() []Drawable { +func (acct *AccountView) Children() []ui.Drawable { return acct.grid.Children() } diff --git a/widgets/aerc.go b/widgets/aerc.go index 1ee4994..26dc5f2 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -7,6 +7,7 @@ import ( "github.com/gdamore/tcell" "git.sr.ht/~sircmpwn/aerc2/config" + "git.sr.ht/~sircmpwn/aerc2/lib/ui" libui "git.sr.ht/~sircmpwn/aerc2/lib/ui" ) @@ -49,7 +50,7 @@ func NewAerc(conf *config.AercConfig, logger *log.Logger) *Aerc { return aerc } -func (aerc *Aerc) Children() []Drawable { +func (aerc *Aerc) Children() []ui.Drawable { return aerc.grid.Children() }