summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet.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 /libmate-panel-applet/mate-panel-applet.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 'libmate-panel-applet/mate-panel-applet.c')
-rw-r--r--libmate-panel-applet/mate-panel-applet.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c
index 630bbfbc..6249a91f 100644
--- a/libmate-panel-applet/mate-panel-applet.c
+++ b/libmate-panel-applet/mate-panel-applet.c
@@ -40,7 +40,6 @@
#include <gtk/gtk.h>
#if GTK_CHECK_VERSION (3, 0, 0)
#include <gtk/gtkx.h>
-#include <gdk/gdkkeysyms-compat.h>
#endif
#include <X11/Xatom.h>
@@ -1910,10 +1909,10 @@ add_tab_bindings (GtkBindingSet *binding_set,
GdkModifierType modifiers,
GtkDirectionType direction)
{
- gtk_binding_entry_add_signal (binding_set, GDK_Tab, modifiers,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_Tab, modifiers,
"move_focus_out_of_applet", 1,
GTK_TYPE_DIRECTION_TYPE, direction);
- gtk_binding_entry_add_signal (binding_set, GDK_KP_Tab, modifiers,
+ gtk_binding_entry_add_signal (binding_set, GDK_KEY_KP_Tab, modifiers,
"move_focus_out_of_applet", 1,
GTK_TYPE_DIRECTION_TYPE, direction);
}