remove leftover externs
This commit is contained in:
parent
e85e606ba9
commit
fd88c54809
1 changed files with 0 additions and 20 deletions
|
@ -186,23 +186,3 @@ impl Setup {
|
|||
self.imp().connected.signal()
|
||||
}
|
||||
}
|
||||
|
||||
mod ffi {
|
||||
use glib::subclass::basic::InstanceStruct;
|
||||
use glib::translate::{from_glib_none, IntoGlibPtr};
|
||||
use glib::Object;
|
||||
use gtk::glib;
|
||||
|
||||
type AudreyUiSetup = InstanceStruct<super::imp::Setup>;
|
||||
|
||||
#[no_mangle]
|
||||
extern "C" fn audrey_ui_setup_new() -> *mut AudreyUiSetup {
|
||||
unsafe { Object::new::<super::Setup>().into_glib_ptr() }
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
extern "C" fn audrey_ui_setup_load(self_: *mut AudreyUiSetup) {
|
||||
let self_: &super::Setup = unsafe { &from_glib_none(self_) };
|
||||
self_.load()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue