| 26 | static GnomeClient *session_id; |
| 27 | |
| 28 | static void |
| 29 | ghack_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 | |
| 40 | static void |
| 41 | ghack_quit_game_cb(GtkWidget *widget, gpointer data) |
nothing calls this directly
no test coverage detected