We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent addb64a commit 750acadCopy full SHA for 750acad
src/frontend_gtk/app.rs
@@ -62,7 +62,6 @@ thread_local! {
62
#[link(name="keybinder-3.0")]
63
extern {
64
fn keybinder_init();
65
- fn keybinder_supported() -> glib_sys::gboolean;
66
fn keybinder_bind(keystring: *const libc::c_char,
67
handler: extern fn(*const libc::c_char, *mut libc::c_void),
68
user_data: *mut libc::c_void) -> glib_sys::gboolean;
@@ -564,9 +563,6 @@ impl MinionsApp {
564
563
565
unsafe {
566
keybinder_init();
567
- if keybinder_supported() == 0 {
568
- panic!("Keybinder not supported");
569
- }
570
{
571
let s = ffi::CString::new("<Ctrl>space").unwrap();
572
keybinder_bind(s.as_ptr(), keybinder_callback_show, std::ptr::null_mut());
0 commit comments