Remove tui_delete_invisible_windows and tui_make_all_invisible
[deliverable/binutils-gdb.git] / gdb / tui / tui-data.c
index 5d42fafccca3c9bbcc406437eeb106ae96c27cfe..ead8b1043ca3c897f98413666bfe2cce3d57e643 100644 (file)
@@ -129,29 +129,6 @@ tui_prev_win (struct tui_win_info *cur_win)
 }
 
 
-/* See tui-data.h.  */
-
-void
-tui_delete_invisible_windows ()
-{
-  for (int win_type = SRC_WIN; (win_type < MAX_MAJOR_WINDOWS); win_type++)
-    {
-      if (tui_win_list[win_type] != NULL
-         && !tui_win_list[win_type]->is_visible ())
-       {
-         /* This should always be made visible before a call to this
-            function.  */
-         gdb_assert (win_type != CMD_WIN);
-
-         if (win_with_focus == tui_win_list[win_type])
-           win_with_focus = nullptr;
-
-         delete tui_win_list[win_type];
-         tui_win_list[win_type] = NULL;
-       }
-    }
-}
-
 tui_win_info::tui_win_info (enum tui_win_type type)
   : tui_gen_win_info (type)
 {
This page took 0.033305 seconds and 4 git commands to generate.