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

Function ghack_quit_game

outdated/win/gnome/gnmain.c:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26static GnomeClient *session_id;
27
28static void
29ghack_quit_game(GtkWidget *widget, int button)
30{
31 gtk_widget_hide(widget);
32 if (button == 0) {
33 gnome_exit_nhwindows(0);
34 gtk_object_unref(GTK_OBJECT(session_id));
35 clearlocks();
36 gtk_exit(0);
37 }
38}
39
40static void
41ghack_quit_game_cb(GtkWidget *widget, gpointer data)

Callers

nothing calls this directly

Calls 2

gnome_exit_nhwindowsFunction · 0.85
clearlocksFunction · 0.85

Tested by

no test coverage detected