summaryrefslogtreecommitdiff
path: root/mixgtk/mixgtk_cmd_dispatcher.c
diff options
context:
space:
mode:
authorPeter Pentchev <roam@debian.org>2021-12-30 19:40:30 +0200
committerPeter Pentchev <roam@debian.org>2021-12-30 19:40:30 +0200
commitec558e64f5b6b965c27cb0acee0f42e5c7a4e0e8 (patch)
treefa08c4a18feff86b2e32f3fcd55e626fb713f5d5 /mixgtk/mixgtk_cmd_dispatcher.c
parent5422fd264e0ad6144af8fd8a59adca44991220a5 (diff)
New upstream version 1.3.0
Diffstat (limited to 'mixgtk/mixgtk_cmd_dispatcher.c')
-rw-r--r--mixgtk/mixgtk_cmd_dispatcher.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mixgtk/mixgtk_cmd_dispatcher.c b/mixgtk/mixgtk_cmd_dispatcher.c
index be58f13..12ed394 100644
--- a/mixgtk/mixgtk_cmd_dispatcher.c
+++ b/mixgtk/mixgtk_cmd_dispatcher.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mixgtk_cmd_dispatcher.c :
* Implementation of the functions declared in mixgtk_cmd_dispatcher.h
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002, 2004, 2006, 2007 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2004, 2006, 2007, 2019 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -411,14 +411,14 @@ on_command_prompt_key_press_event (GtkEntry *w, GdkEventKey *e, gpointer d)
#ifdef HAVE_LIBHISTORY
HIST_ENTRY *entry = NULL;
- if (key == GDK_Up)
+ if (key == GDK_KEY_Up)
{
entry = previous_history ();
if (entry && entry->line)
gtk_entry_set_text (w, entry->line);
result = TRUE;
}
- if (key == GDK_Down)
+ if (key == GDK_KEY_Down)
{
entry = next_history ();
if (entry && entry->line)
@@ -427,7 +427,7 @@ on_command_prompt_key_press_event (GtkEntry *w, GdkEventKey *e, gpointer d)
}
#endif
- if (key == GDK_Tab)
+ if (key == GDK_KEY_Tab)
{
complete_command_ ();
result = TRUE;