mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +00:00
apps,ui/app: delete ui/app.Window.Ack
Replace it with a dummy event send on the synchronous event channel; a bit of cleverness for a simpler API. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -200,7 +200,6 @@ func (a *App) run() error {
|
||||
a.pqueue.Frame(root)
|
||||
a.faces.Frame()
|
||||
}
|
||||
a.w.Ack()
|
||||
}
|
||||
}
|
||||
return a.w.Err()
|
||||
|
||||
@@ -52,7 +52,6 @@ func init() {
|
||||
w.Draw(root)
|
||||
faces.Frame()
|
||||
}
|
||||
w.Ack()
|
||||
}
|
||||
if w.Err() != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user