summaryrefslogtreecommitdiff
path: root/src/terminal-window.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-08-03 16:54:28 +0300
committerMonsta <[email protected]>2015-08-03 16:54:28 +0300
commitc879af2f814224808783f6c83cf1fb9d03f1d7b0 (patch)
tree619ada026925e0b57faff8f3f1a7bad2ddcd0ea5 /src/terminal-window.c
parent8e6b4985d5c8561fb916980b1303b77c4bad517f (diff)
downloadmate-terminal-c879af2f814224808783f6c83cf1fb9d03f1d7b0.tar.bz2
mate-terminal-c879af2f814224808783f6c83cf1fb9d03f1d7b0.tar.xz
drop gdkkeysyms-compat usage, use modern key names
Diffstat (limited to 'src/terminal-window.c')
-rw-r--r--src/terminal-window.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 9b3aec4..1aebcd9 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -49,8 +49,7 @@
#endif
#if GTK_CHECK_VERSION(3, 0, 0)
- #include <gdk/gdk.h>
- #include <gdk/gdkkeysyms-compat.h>
+#include <gdk/gdk.h>
#endif
struct _TerminalWindowPrivate
@@ -4035,11 +4034,11 @@ tabs_next_or_previous_tab_cb (GtkAction *action,
name = gtk_action_get_name (action);
if (strcmp (name, "TabsNext") == 0)
{
- keyval = GDK_Page_Down;
+ keyval = GDK_KEY_Page_Down;
}
else if (strcmp (name, "TabsPrevious") == 0)
{
- keyval = GDK_Page_Up;
+ keyval = GDK_KEY_Page_Up;
}
klass = GTK_NOTEBOOK_GET_CLASS (GTK_NOTEBOOK (priv->notebook));