diff options
author | Monsta <[email protected]> | 2015-08-03 16:54:28 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-08-03 16:54:28 +0300 |
commit | c879af2f814224808783f6c83cf1fb9d03f1d7b0 (patch) | |
tree | 619ada026925e0b57faff8f3f1a7bad2ddcd0ea5 /src/terminal-screen.c | |
parent | 8e6b4985d5c8561fb916980b1303b77c4bad517f (diff) | |
download | mate-terminal-c879af2f814224808783f6c83cf1fb9d03f1d7b0.tar.bz2 mate-terminal-c879af2f814224808783f6c83cf1fb9d03f1d7b0.tar.xz |
drop gdkkeysyms-compat usage, use modern key names
Diffstat (limited to 'src/terminal-screen.c')
-rw-r--r-- | src/terminal-screen.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/terminal-screen.c b/src/terminal-screen.c index 9047fae..3e23b29 100644 --- a/src/terminal-screen.c +++ b/src/terminal-screen.c @@ -49,10 +49,6 @@ #include "eggshell.h" -#if GTK_CHECK_VERSION(3, 0, 0) - #include <gdk/gdkkeysyms-compat.h> -#endif - #define URL_MATCH_CURSOR (GDK_HAND2) #define SKEY_MATCH_CURSOR (GDK_HAND2) @@ -276,9 +272,9 @@ terminal_screen_class_enable_menu_bar_accel_notify_cb (TerminalApp *app, binding_set = gtk_binding_set_by_class (klass); if (enable) - gtk_binding_entry_remove (binding_set, GDK_F10, GDK_SHIFT_MASK); + gtk_binding_entry_remove (binding_set, GDK_KEY_F10, GDK_SHIFT_MASK); else - gtk_binding_entry_skip (binding_set, GDK_F10, GDK_SHIFT_MASK); + gtk_binding_entry_skip (binding_set, GDK_KEY_F10, GDK_SHIFT_MASK); } static TerminalWindow * |