commit beeabdaf129e3214236c5450529392f2bbb2046e
parent 7f47a95f8fc19e849370682e17f701cb640e5e92
Author: Ben Webb <ben@salilab.org>
Date: Sun, 22 Nov 2020 20:42:30 -0800
Use GTK+3 key names
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gui_client/gtk_client.c b/src/gui_client/gtk_client.c
@@ -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);