| 1236 | } |
| 1237 | |
| 1238 | void |
| 1239 | destroy_status_window_fancy(struct xwindow *wp) |
| 1240 | { |
| 1241 | /* If status_information is defined, then it a "text" status window. */ |
| 1242 | if (wp->status_information) { |
| 1243 | if (wp->popup) { |
| 1244 | nh_XtPopdown(wp->popup); |
| 1245 | if (!wp->keep_window) |
| 1246 | XtDestroyWidget(wp->popup), wp->popup = (Widget) 0; |
| 1247 | } |
| 1248 | free((genericptr_t) wp->status_information); |
| 1249 | wp->status_information = 0; |
| 1250 | } else { |
| 1251 | destroy_fancy_status(wp); |
| 1252 | } |
| 1253 | if (!wp->keep_window) |
| 1254 | wp->type = NHW_NONE; |
| 1255 | } |
| 1256 | |
| 1257 | /* |
| 1258 | * This assumes several things: |
no test coverage detected