summary refs log tree commit diff stats
path: root/src/fe-gtk/fkeys.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-10-01 11:21:28 -0400
committerTingPing <tingping@tingping.se>2013-10-03 16:23:46 -0400
commiteb93130cd3a846650dfbb972194190e91564df02 (patch)
tree76a9be4044a9b8e3d108cdce3a0b5d6ecf089f27 /src/fe-gtk/fkeys.c
parentd643056ca03fb0c6265ae33237fde73a3ec4e7bd (diff)
Remove gtkspell support
Diffstat (limited to 'src/fe-gtk/fkeys.c')
-rw-r--r--src/fe-gtk/fkeys.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c
index 52f5d901..bf21c452 100644
--- a/src/fe-gtk/fkeys.c
+++ b/src/fe-gtk/fkeys.c
@@ -300,17 +300,6 @@ key_handle_key_press (GtkWidget *wid, GdkEventKey *evt, session *sess)
 	case GDK_KEY_space:
 		key_action_tab_clean ();
 		break;
-
-#if defined(USE_GTKSPELL)/* && !defined(WIN32) */
-	/* gtktextview has no 'activate' event, so we trap ENTER here */
-	case GDK_KEY_Return:
-	case GDK_KEY_KP_Enter:
-		if (!(evt->state & STATE_CTRL))
-		{
-			g_signal_stop_emission_by_name (G_OBJECT (wid), "key_press_event");
-			mg_inputbox_cb (wid, sess->gui);
-		}
-#endif
 	}
 
 	return 0;