Fix startup initialization.
[GB.GTK3] * BUG: Fix startup initialization.
This commit is contained in:
parent
84443eafd9
commit
46cdd482dc
1 changed files with 3 additions and 1 deletions
|
@ -464,11 +464,13 @@ static void hook_main(int *argc, char ***argv)
|
|||
fprintf(stderr, "gb.gtk3: warning: unknown platform: %s\n", env);
|
||||
}
|
||||
|
||||
gApplication::init(argc, argv);
|
||||
gtk_init(argc, argv);
|
||||
|
||||
load_platform();
|
||||
PLATFORM.Init();
|
||||
|
||||
gApplication::init(argc, argv);
|
||||
|
||||
gApplication::setDefaultTitle(GB.Application.Title());
|
||||
gDesktop::init();
|
||||
|
||||
|
|
Loading…
Reference in a new issue