forked from joejulian/gio
apps/hello: fix error handling
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ func loop(w *app.Window) {
|
||||
faces.Frame()
|
||||
}
|
||||
}
|
||||
if w.Err() != nil {
|
||||
if err := w.Err(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user