summaryrefslogtreecommitdiff
path: root/accessx-status
diff options
context:
space:
mode:
Diffstat (limited to 'accessx-status')
-rw-r--r--accessx-status/applet.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c
index 8cbe1ff3..83e19e67 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -26,9 +26,6 @@
#include <glib-object.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
-#if GTK_CHECK_VERSION (3, 0, 0)
-#include <gdk/gdkkeysyms-compat.h>
-#endif
#include <gdk/gdkx.h>
#include <mate-panel-applet.h>
#include <X11/XKBlib.h>
@@ -1278,12 +1275,12 @@ static gboolean key_press_cb(GtkWidget* widget, GdkEventKey* event, AccessxStatu
{
switch (event->keyval)
{
- case GDK_KP_Enter:
- case GDK_ISO_Enter:
- case GDK_3270_Enter:
- case GDK_Return:
- case GDK_space:
- case GDK_KP_Space:
+ case GDK_KEY_KP_Enter:
+ case GDK_KEY_ISO_Enter:
+ case GDK_KEY_3270_Enter:
+ case GDK_KEY_Return:
+ case GDK_KEY_space:
+ case GDK_KEY_KP_Space:
dialog_cb(NULL, sapplet);
return TRUE;