From ebf76efdd6adc435f2bc72a260eea7eb3b69bcb8 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Tue, 11 May 2010 22:06:07 +0200 Subject: [PATCH] Removed unnecessary check --- zathura.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/zathura.c b/zathura.c index 2eabc3b..fe254eb 100644 --- a/zathura.c +++ b/zathura.c @@ -3035,11 +3035,6 @@ gboolean cb_draw(GtkWidget* widget, GdkEventExpose* expose, gpointer data) gboolean cb_inputbar_kb_pressed(GtkWidget *widget, GdkEventKey *event, gpointer data) { - /* when the return button is pressed the inputbar is activated, - * so we do not handle it here */ - if(event->keyval == GDK_Return) - return FALSE; - int i; /* inputbar shortcuts */