| 57 | } |
| 58 | |
| 59 | static void |
| 60 | ghack_save_game(GtkWidget *widget, int button) |
| 61 | { |
| 62 | gtk_widget_hide(widget); |
| 63 | if (button == 0) { |
| 64 | if (dosave0()) { |
| 65 | /* make sure they see the Saving message */ |
| 66 | display_nhwindow(WIN_MESSAGE, TRUE); |
| 67 | gnome_exit_nhwindows("Be seeing you..."); |
| 68 | clearlocks(); |
| 69 | gtk_exit(0); |
| 70 | } else |
| 71 | (void) doredraw(); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | void |
| 76 | ghack_save_game_cb(GtkWidget *widget, gpointer data) |
nothing calls this directly
no test coverage detected