summaryrefslogtreecommitdiff
path: root/src/gui_gtk.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-05-05 21:15:17 +0000
committerBram Moolenaar <Bram@vim.org>2006-05-05 21:15:17 +0000
commit91170f8ae70cb9a2c15a5d89182f317c18aa0de7 (patch)
tree1633e86e6a00760931319093cec0ea7fc3709893 /src/gui_gtk.c
parentf3a678875fd88038b18b83311075d1250d9d7ca5 (diff)
downloadvim-git-91170f8ae70cb9a2c15a5d89182f317c18aa0de7.tar.gz
updated for version 7.0g04
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r--src/gui_gtk.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 0da144fc9..397b45180 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -2221,16 +2221,6 @@ dialog_key_press_event_cb(GtkWidget *widget, GdkEventKey *event, gpointer data)
{
DialogInfo *di = (DialogInfo *)data;
-#ifndef HAVE_GTK2
- /* Ignore hitting "Enter" if there is no default button. */
- if (event->keyval == GDK_Return)
- {
- if (!di->ignore_enter)
- gtk_dialog_response(di->dialog, GTK_RESPONSE_ACCEPT);
- return TRUE;
- }
-#endif
-
/* Close the dialog when hitting "Esc". */
if (event->keyval == GDK_Escape)
{