summaryrefslogtreecommitdiff
path: root/drivemount
diff options
context:
space:
mode:
Diffstat (limited to 'drivemount')
-rw-r--r--drivemount/drive-button.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivemount/drive-button.c b/drivemount/drive-button.c
index 54daa608..07cafbe6 100644
--- a/drivemount/drive-button.c
+++ b/drivemount/drive-button.c
@@ -31,7 +31,6 @@
#include <gdk/gdkkeysyms.h>
#if GTK_CHECK_VERSION (3, 0, 0)
#include <gio/gdesktopappinfo.h>
-#include <gdk/gdkkeysyms-compat.h>
#endif
#include <string.h>
@@ -264,10 +263,10 @@ drive_button_key_press (GtkWidget *widget,
DriveButton *self = DRIVE_BUTTON (widget);
switch (event->keyval) {
- case GDK_KP_Space:
- case GDK_space:
- case GDK_KP_Enter:
- case GDK_Return:
+ case GDK_KEY_KP_Space:
+ case GDK_KEY_space:
+ case GDK_KEY_KP_Enter:
+ case GDK_KEY_Return:
drive_button_ensure_popup (self);
if (self->popup_menu) {
gtk_menu_popup (GTK_MENU (self->popup_menu), NULL, NULL,