mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-08 19:05:35 +00:00
ui/app,apps: unexport ChangeStage and Stage
I'm not convinced the API is right. For exmaple, an event that notifies a program when to save its state is both smaller and might be sufficient. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ func createWindow(opts *WindowOptions) error {
|
||||
w.w = newWindow(w)
|
||||
go func() {
|
||||
windows <- w.w
|
||||
w.w.event(ChangeStage{StageVisible})
|
||||
w.w.event(changeStage{stageVisible})
|
||||
w.draw(true)
|
||||
select {}
|
||||
w.cleanup()
|
||||
|
||||
Reference in New Issue
Block a user