summaryrefslogtreecommitdiff
path: root/mate-panel/panel.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-14 10:09:55 +0200
committerinfirit <[email protected]>2015-07-14 13:07:33 +0200
commit8b65935648a94ba427e1fa457336485662cddd42 (patch)
tree34f60155df3209e6b4446f70198c9c6068ebfe8c /mate-panel/panel.c
parent8c14769db1b13cffe7cafcdea482061bbe4d5dd4 (diff)
downloadmate-panel-8b65935648a94ba427e1fa457336485662cddd42.tar.bz2
mate-panel-8b65935648a94ba427e1fa457336485662cddd42.tar.xz
Drop gdkkeysyms-compat usage in Gtk+3
The new GDK_KEY_ keys are also in Gtk+2.
Diffstat (limited to 'mate-panel/panel.c')
-rw-r--r--mate-panel/panel.c3
1 files changed, 1 insertions, 2 deletions
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 <gdk/gdkkeysyms.h>
#if GTK_CHECK_VERSION (3, 0, 0)
#include <gtk/gtkx.h> /* for GTK_IS_SOCKET */
-#include <gdk/gdkkeysyms-compat.h>
#endif
#include <libpanel-util/panel-glib.h>
@@ -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),