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

Skip init assertion for gdk::set_allowed_backends #1183

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

nardoor
Copy link
Contributor

@nardoor nardoor commented Nov 16, 2022

Similar to gtk-rs/gtk3-rs#791

To my understanding gdk::set_allowed_backends() should be called (when needed) before the init()

https://docs.gtk.org/gdk3/func.set_allowed_backends.html

This call must happen prior to gdk_display_open(), gtk_init(), gtk_init_with_args() or gtk_init_check() in order to take effect.

The way I added the assertion skip might not be the way intended.
Please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants