Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init GTK in NewFrontend, not init #2841

Merged
merged 3 commits into from
Aug 25, 2023
Merged

Commits on Aug 23, 2023

  1. Init GTK in NewFrontend, not init

    So apps that have a headless / non-gui mode will be able to run, since
    they needn't call `NewFrontend` (which is called by `CreateApp`).
    Previously, `init` would call `C.gtk_init` regardless of whether
    CreateApp was called.
    
    Also change to call `C.gtk_init_check` with a panic, instead of
    `C.gtk_init`, since `gtk_init` just exits the process if it fails,
    without a sensible error message.
    
    Fixes wailsapp#2628.
    phildrip committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    04b4634 View commit details
    Browse the repository at this point in the history
  2. Update changelog

    phildrip committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    a5ac83e View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Configuration menu
    Copy the full SHA
    5e520af View commit details
    Browse the repository at this point in the history