summaryrefslogtreecommitdiff
path: root/pluma/pluma-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'pluma/pluma-panel.c')
-rw-r--r--pluma/pluma-panel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pluma/pluma-panel.c b/pluma/pluma-panel.c
index 5271eeb7..d8467a0c 100644
--- a/pluma/pluma-panel.c
+++ b/pluma/pluma-panel.c
@@ -145,11 +145,7 @@ static void
pluma_panel_focus_document (PlumaPanel *panel)
{
GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (panel));
-#if !GTK_CHECK_VERSION (2, 18, 0)
- if (GTK_WIDGET_TOPLEVEL (toplevel) && PLUMA_IS_WINDOW (toplevel))
-#else
if (gtk_widget_is_toplevel (toplevel) && PLUMA_IS_WINDOW (toplevel))
-#endif
{
PlumaView *view;