From 9120c02d8323ff6672c8a5eba1f51652158747eb Mon Sep 17 00:00:00 2001 From: daa84 Date: Tue, 22 Aug 2017 12:31:14 +0300 Subject: [PATCH] Cleanup --- src/shell.rs | 3 --- 1 file changed, 3 deletions(-) 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));