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

Function ghack_menu_window_end_menu

outdated/win/gnome/gnmenu.c:455–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455void
456ghack_menu_window_end_menu(GtkWidget *menuWin, gpointer data)
457{
458 const char *p = (const char *) data;
459
460 if ((p) && (*p)) {
461 GtkWidget *frame1 =
462 gtk_object_get_data(GTK_OBJECT(menuWin), "frame1");
463 g_assert(frame1 != NULL);
464
465 gtk_frame_set_label(GTK_FRAME(frame1), p);
466 }
467}
468
469void
470ghack_menu_window_put_string(GtkWidget *menuWin, int attr, const char *text,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected