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

Allow gtk_init_check to fail #86

Merged
merged 5 commits into from
Feb 15, 2025
Merged

Allow gtk_init_check to fail #86

merged 5 commits into from
Feb 15, 2025

Conversation

jwahlstrand
Copy link
Member

@jwahlstrand jwahlstrand commented Feb 15, 2025

A warning will be emitted rather than an error. Downstream packages can check Gtk4.initialized[] to see if it is safe to call Gtk4 methods.

Fixes #84

@jwahlstrand jwahlstrand merged commit cba4a8f into main Feb 15, 2025
11 checks passed
@jwahlstrand jwahlstrand deleted the jw/headless branch February 15, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gtk_init_check() failed during initialization of module Gtk4
1 participant