This widget is being destroyed before its time-- * clear its entry from the windowlist. */
| 465 | * clear its entry from the windowlist. |
| 466 | */ |
| 467 | void |
| 468 | gnome_delete_nhwindow_by_reference(GtkWidget *menuWin) |
| 469 | { |
| 470 | int i; |
| 471 | |
| 472 | for (i = 0; i < MAXWINDOWS; i++) { |
| 473 | if (gnome_windowlist[i].win == menuWin) { |
| 474 | gnome_windowlist[i].win = NULL; |
| 475 | gnome_windowlist[i].type = 0; |
| 476 | break; |
| 477 | } |
| 478 | } |
| 479 | } |
| 480 | |
| 481 | /* Clear the given window, when asked to. */ |
| 482 | void |
no outgoing calls
no test coverage detected