Closed nardoor closed 1 year ago
To my understanding gdk::set_allowed_backends() should be called (when needed) before the init()
gdk::set_allowed_backends()
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.
Would you mind sending a similar PR for gtk4-rs?
Sure, https://github.com/gtk-rs/gtk4-rs/pull/1183
To my understanding
gdk::set_allowed_backends()
should be called (when needed) before theinit()
https://docs.gtk.org/gdk3/func.set_allowed_backends.html
The way I added the assertion skip might not be the way intended. Please let me know.