summaryrefslogtreecommitdiff
path: root/src/terminal-window.c
diff options
context:
space:
mode:
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));