We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e898d6 commit 559a57cCopy full SHA for 559a57c
gdk4/Gir.toml
@@ -215,7 +215,9 @@ status = "generate"
215
[[object.function]]
216
name = "toplevel_size_get_type"
217
ignore = true # used directly in gdk::ToplevelSize
218
-
+ [[object.function]]
219
+ name = "set_allowed_backends"
220
+ assertion = "skip"
221
222
[[object]]
223
name = "Gdk.AppLaunchContext"
gdk4/src/auto/functions.rs
@@ -44,7 +44,7 @@ pub fn pixbuf_get_from_texture(texture: &impl IsA<Texture>) -> Option<gdk_pixbuf
44
45
#[doc(alias = "gdk_set_allowed_backends")]
46
pub fn set_allowed_backends(backends: &str) {
47
- assert_initialized_main_thread!();
+ skip_assert_initialized!();
48
unsafe {
49
ffi::gdk_set_allowed_backends(backends.to_glib_none().0);
50
}
0 commit comments