libadwaita/sidebar_section.rs
1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use std::ptr;
4
5use glib::translate::*;
6
7use crate::{ffi, SidebarSection};
8
9impl SidebarSection {
10 #[doc(alias = "adw_prefences_group_bind_model")]
11 #[doc(alias = "bind_model")]
12 pub fn unbind_model(&self) {
13 unsafe {
14 ffi::adw_sidebar_section_bind_model(
15 self.to_glib_none().0,
16 ptr::null_mut(),
17 None,
18 ptr::null_mut(),
19 None,
20 )
21 }
22 }
23}