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 32b9ee1 commit 1df8076Copy full SHA for 1df8076
gtk4/Gir.toml
@@ -543,6 +543,9 @@ status = "generate"
543
name = "accelerator_parse"
544
manual = true # to make use of gdk::Key
545
[[object.function]]
546
+ name = "disable_portals"
547
+ assertion = "not-initialized"
548
+ [[object.function]]
549
name = "disable_setlocale"
550
assertion = "not-initialized"
551
gtk4/src/auto/functions.rs
@@ -39,7 +39,7 @@ pub fn check_version(
39
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
40
#[doc(alias = "gtk_disable_portals")]
41
pub fn disable_portals() {
42
- assert_initialized_main_thread!();
+ assert_not_initialized!();
43
unsafe {
44
ffi::gtk_disable_portals();
45
}
0 commit comments