mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-27 13:34:36 -04:00
Fix crash on launch on macOS
This commit is contained in:
parent
9bb15fce53
commit
6943cd569e
3 changed files with 20 additions and 14 deletions
|
@ -33,7 +33,7 @@ type ProgressWindow struct {
|
|||
cancelled bool
|
||||
}
|
||||
|
||||
func CreateProgressWindow(parent *gtk.Window) (ProgressWindow, error) {
|
||||
func CreateProgressWindow(parent *gtk.ApplicationWindow) (ProgressWindow, error) {
|
||||
win, err := gtk.WindowNew(gtk.WINDOW_TOPLEVEL)
|
||||
if err != nil {
|
||||
return ProgressWindow{}, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue