head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.06.25.07.52.16; author wiz; state Exp; branches; next ; commitid gbR0lHsTD54gw9LG; desc @@ 1.1 log @corewars: switch to gtk2, stop using argp. Patches from OpenBSD ports (which got the GTK2 patch from Debian) - thanks to both projects! Bump PKGREVISION. @ text @$NetBSD$ Switch to gtk+2. From Debian's corewars_0.9.13+ds-1.diff. --- src/main-gui.c.orig Wed Mar 24 23:07:02 2010 +++ src/main-gui.c Wed Mar 24 23:07:23 2010 @@@@ -348,7 +348,7 @@@@ void get_main_menu( GtkWidget *window, gtk_item_factory_create_items (item_factory, nmenu_items, menu_items, NULL); /* Attach the new accelerator group to the window. */ - gtk_accel_group_attach (accel_group, GTK_OBJECT (window)); + gtk_window_add_accel_group(GTK_WINDOW (window), accel_group); menu_file_start = gtk_item_factory_get_widget (item_factory, "/File/Start"); menu_file_pause = gtk_item_factory_get_widget (item_factory, "/File/Pause"); @