mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
ui/app: (windows) don't unregister window class
It silently fails because the Gio window is using it. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -219,7 +219,6 @@ func createNativeWindow(opts *windowOptions) (*window, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
defer unregisterClass(cls, hInst)
|
|
||||||
wr := rect{
|
wr := rect{
|
||||||
right: int32(cfg.Px(opts.Width)),
|
right: int32(cfg.Px(opts.Width)),
|
||||||
bottom: int32(cfg.Px(opts.Height)),
|
bottom: int32(cfg.Px(opts.Height)),
|
||||||
|
|||||||
Reference in New Issue
Block a user