--- a/ui/common/context.c Fri Jun 14 18:24:31 2024 +0200 +++ b/ui/common/context.c Sun Jun 16 11:36:27 2024 +0200 @@ -67,7 +67,7 @@ ctx->attach_document = uic_context_attach_document; ctx->detach_document2 = uic_context_detach_document2; -#ifdef UI_GTK +#if UI_GTK2 || UI_GTK3 if(toplevel && toplevel->widget) { ctx->accel_group = gtk_accel_group_new(); gtk_window_add_accel_group(GTK_WINDOW(toplevel->widget), ctx->accel_group);