diff --git a/src/ui/setup.rs b/src/ui/setup.rs index be640c2..46ea2fb 100644 --- a/src/ui/setup.rs +++ b/src/ui/setup.rs @@ -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; - - #[no_mangle] - extern "C" fn audrey_ui_setup_new() -> *mut AudreyUiSetup { - unsafe { Object::new::().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() - } -}