1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use glib::translate::*;
#[doc(alias = "panel_finalize")]
pub fn finalize() {
assert_initialized_main_thread!();
unsafe {
ffi::panel_finalize();
}
}
#[doc(alias = "panel_get_resource")]
#[doc(alias = "get_resource")]
pub fn resource() -> gio::Resource {
assert_initialized_main_thread!();
unsafe { from_glib_full(ffi::panel_get_resource()) }
}
#[doc(alias = "panel_init")]
pub fn init() {
assert_initialized_main_thread!();
unsafe {
ffi::panel_init();
}
}