mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 07:57:29 +00:00
ui/app: remove two redundant assignments
StagePaused is the zero value now that StateDead is gone. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -243,7 +243,6 @@ func createNativeWindow(opts *WindowOptions) (*window, error) {
|
||||
}
|
||||
w := &window{
|
||||
hwnd: hwnd,
|
||||
stage: StagePaused,
|
||||
}
|
||||
winMap[hwnd] = w
|
||||
w.hdc, err = getDC(hwnd)
|
||||
|
||||
@@ -83,7 +83,6 @@ func NewWindow(opts *WindowOptions) *Window {
|
||||
|
||||
w := &Window{
|
||||
events: make(chan Event),
|
||||
stage: StagePaused,
|
||||
}
|
||||
if err := createWindow(w, opts); err != nil {
|
||||
// For simplicity, NewWindow always succeeds. Send
|
||||
|
||||
Reference in New Issue
Block a user