From 8b65935648a94ba427e1fa457336485662cddd42 Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 14 Jul 2015 10:09:55 +0200 Subject: Drop gdkkeysyms-compat usage in Gtk+3 The new GDK_KEY_ keys are also in Gtk+2. --- mate-panel/panel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mate-panel/panel.c') diff --git a/mate-panel/panel.c b/mate-panel/panel.c index 0313e8e3..4ffd760d 100644 --- a/mate-panel/panel.c +++ b/mate-panel/panel.c @@ -21,7 +21,6 @@ #include #if GTK_CHECK_VERSION (3, 0, 0) #include /* for GTK_IS_SOCKET */ -#include #endif #include @@ -398,7 +397,7 @@ panel_key_press_event (GtkWidget *widget, * activating the key bindings here. */ if (GTK_IS_SOCKET (gtk_window_get_focus (GTK_WINDOW (widget))) && - event->keyval == GDK_F10 && + event->keyval == GDK_KEY_F10 && (event->state & gtk_accelerator_get_default_mod_mask ()) == GDK_CONTROL_MASK) #if GTK_CHECK_VERSION (3, 0, 0) return gtk_bindings_activate (G_OBJECT (widget), -- cgit v1.2.1