diff --git a/src/shell.rs b/src/shell.rs index f992adb..dd30198 100644 --- a/src/shell.rs +++ b/src/shell.rs @@ -454,7 +454,6 @@ impl Shell { let ref_state = self.state.clone(); state.im_context.connect_commit(move |_, ch| { - println!("commit"); ref_state.borrow().im_commit(ch) }); @@ -529,7 +528,6 @@ impl Deref for Shell { fn gtk_focus_in(state: &mut State) -> Inhibit { state.im_context.focus_in(); - println!("focus in"); state.cursor.as_mut().unwrap().enter_focus(); let point = state.model.cur_point(); state.on_redraw(&RepaintMode::Area(point)); @@ -538,7 +536,6 @@ fn gtk_focus_in(state: &mut State) -> Inhibit { fn gtk_focus_out(state: &mut State) -> Inhibit { state.im_context.focus_out(); - println!("focus out"); state.cursor.as_mut().unwrap().leave_focus(); let point = state.model.cur_point(); state.on_redraw(&RepaintMode::Area(point));