tUse GTK+3 key names - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit beeabdaf129e3214236c5450529392f2bbb2046e
(DIR) parent 7f47a95f8fc19e849370682e17f701cb640e5e92
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Sun, 22 Nov 2020 20:42:30 -0800
Use GTK+3 key names
Diffstat:
M src/gui_client/gtk_client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/gui_client/gtk_client.c b/src/gui_client/gtk_client.c
t@@ -1519,7 +1519,7 @@ void Jet(GtkWidget *parent)
/* Add keypad shortcuts as well */
if (i < 9) {
gtk_widget_add_accelerator(button, "clicked", accel_group,
- GDK_KP_1 + i, 0,
+ GDK_KEY_KP_1 + i, 0,
GTK_ACCEL_VISIBLE);
}
g_free(name);