aboutsummaryrefslogtreecommitdiff
path: root/dragon.c
diff options
context:
space:
mode:
Diffstat (limited to 'dragon.c')
-rw-r--r--dragon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dragon.c b/dragon.c
index 4ca2f81..c388930 100644
--- a/dragon.c
+++ b/dragon.c
@@ -412,6 +412,8 @@ int main (int argc, char **argv) {
closure = g_cclosure_new(G_CALLBACK(do_quit), NULL, NULL);
accelgroup = gtk_accel_group_new();
gtk_accel_group_connect(accelgroup, GDK_KEY_Escape, 0, 0, closure);
+ closure = g_cclosure_new(G_CALLBACK(do_quit), NULL, NULL);
+ gtk_accel_group_connect(accelgroup, GDK_KEY_q, 0, 0, closure);
gtk_window_add_accel_group(GTK_WINDOW(window), accelgroup);
gtk_window_set_title(GTK_WINDOW(window), "Run");
bgstack15