| 1058 | } |
| 1059 | |
| 1060 | void |
| 1061 | destroy_status_window_tty(struct xwindow *wp) |
| 1062 | { |
| 1063 | /* if status_information is defined, then it is a "text" status window */ |
| 1064 | if (wp->status_information) { |
| 1065 | if (wp->popup) { |
| 1066 | nh_XtPopdown(wp->popup); |
| 1067 | if (!wp->keep_window) |
| 1068 | XtDestroyWidget(wp->popup), wp->popup = (Widget) 0; |
| 1069 | } |
| 1070 | free((genericptr_t) wp->status_information); |
| 1071 | wp->status_information = 0; |
| 1072 | } else { |
| 1073 | ; |
| 1074 | } |
| 1075 | if (!wp->keep_window) |
| 1076 | wp->type = NHW_NONE; |
| 1077 | } |
| 1078 | |
| 1079 | /*ARGSUSED*/ |
| 1080 | void |
no test coverage detected