diff options
author | Elias Naur <mail@eliasnaur.com> | 2019-02-10 22:46:13 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-02-10 17:11:19 -0500 |
commit | 607ece83029a7df7ec40ab2084a7e8a69515880c (patch) | |
tree | af65e0a964366e11b06773fc0f8f9a7f0877814f | |
parent | 12284487b48690b1b6b0694b747c45512a9dbe2c (diff) | |
download | aerc-607ece83029a7df7ec40ab2084a7e8a69515880c.tar.gz |
Fix build
-rw-r--r-- | widgets/account.go | 2 | ||||
-rw-r--r-- | 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() } |