summaryrefslogtreecommitdiff
path: root/plugins/filebrowser/pluma-file-browser-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/filebrowser/pluma-file-browser-view.c')
-rw-r--r--plugins/filebrowser/pluma-file-browser-view.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/filebrowser/pluma-file-browser-view.c b/plugins/filebrowser/pluma-file-browser-view.c
index 6092248c..bf8a11a1 100644
--- a/plugins/filebrowser/pluma-file-browser-view.c
+++ b/plugins/filebrowser/pluma-file-browser-view.c
@@ -642,11 +642,7 @@ key_press_event (GtkWidget *widget,
handled = FALSE;
break;
}
-#if GTK_CHECK_VERSION (3, 0, 0)
if (!gtk_widget_has_focus (widget)) {
-#else
- if (!GTK_WIDGET_HAS_FOCUS (widget)) {
-#endif
handled = FALSE;
break;
}