cleanup: Unused symbol functions

This commit is contained in:
Dorota Czaplejewicz
2019-10-09 07:56:56 +00:00
parent 3bede84a2d
commit 46d3312c86
3 changed files with 1 additions and 91 deletions

View File

@ -144,18 +144,7 @@ pub mod c {
let button = unsafe { &*button };
::keyboard::c::CKeyState::wrap(button.state.clone())
}
/// Really should just return the label
#[no_mangle]
pub extern "C"
fn squeek_button_get_symbol(
button: *const ::layout::Button,
) -> *const Symbol {
let button = unsafe { &*button };
let state = button.state.borrow();
&state.symbol as *const Symbol
}
#[no_mangle]
pub extern "C"
fn squeek_button_get_label(