aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface-gtk/view.c')
-rw-r--r--src/interface-gtk/view.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/interface-gtk/view.c b/src/interface-gtk/view.c
index 81db3d7..3a18f33 100644
--- a/src/interface-gtk/view.c
+++ b/src/interface-gtk/view.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012-2025 Robin Haberkorn
+ * Copyright (C) 2012-2026 Robin Haberkorn
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -102,12 +102,8 @@ teco_view_new(void)
gint events = gtk_widget_get_events(GTK_WIDGET(ctx));
events &= ~(GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
GDK_SCROLL_MASK | GDK_SMOOTH_SCROLL_MASK | GDK_TOUCH_MASK |
-#ifdef GDK_VERSION_3_18
GDK_TOUCHPAD_GESTURE_MASK |
-#endif
-#ifdef GDK_VERSION_3_22
GDK_TABLET_PAD_MASK |
-#endif
GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK);
gtk_widget_set_events(GTK_WIDGET(ctx), events);