MCPcopy Create free account
hub / github.com/NetHack/NetHack / destroy_menu_window

Function destroy_menu_window

win/X11/winmenu.c:1486–1493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1484}
1485
1486void
1487destroy_menu_window(struct xwindow *wp)
1488{
1489 clear_old_menu(wp); /* this will also destroy the widgets */
1490 free((genericptr_t) wp->menu_information);
1491 wp->menu_information = (struct menu_info_t *) 0;
1492 wp->type = NHW_NONE; /* allow re-use */
1493}
1494
1495/*winmenu.c*/

Callers 1

X11_destroy_nhwindowFunction · 0.85

Calls 1

clear_old_menuFunction · 0.85

Tested by

no test coverage detected