gio_win32/auto/functions.rs
1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5#[cfg(feature = "v2_78")]
6#[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
7use crate::ffi;
8use glib::translate::*;
9
10#[cfg(feature = "v2_78")]
11#[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
12#[doc(alias = "g_registry_settings_backend_new")]
13pub fn registry_settings_backend_new(registry_key: Option<&str>) -> gio::SettingsBackend {
14 unsafe {
15 from_glib_full(ffi::g_registry_settings_backend_new(
16 registry_key.to_glib_none().0,
17 ))
18 }
19}