Fix build

This commit is contained in:
Elias Naur 2019-02-10 22:46:13 +01:00 committed by Drew DeVault
parent 12284487b4
commit 607ece8302
2 changed files with 3 additions and 2 deletions

View File

@ -86,7 +86,7 @@ func NewAccountView(conf *config.AccountConfig,
return acct return acct
} }
func (acct *AccountView) Children() []Drawable { func (acct *AccountView) Children() []ui.Drawable {
return acct.grid.Children() return acct.grid.Children()
} }

View File

@ -7,6 +7,7 @@ import (
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"git.sr.ht/~sircmpwn/aerc2/config" "git.sr.ht/~sircmpwn/aerc2/config"
"git.sr.ht/~sircmpwn/aerc2/lib/ui"
libui "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 return aerc
} }
func (aerc *Aerc) Children() []Drawable { func (aerc *Aerc) Children() []ui.Drawable {
return aerc.grid.Children() return aerc.grid.Children()
} }