about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/core.c7
-rw-r--r--src/ui/ui.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 9681a455..6dc85827 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -751,13 +751,6 @@ ui_prune_wins(void)
     }
 }
 
-win_type_t
-ui_win_type(int index)
-{
-    ProfWin *window = wins_get_by_num(index);
-    return window->type;
-}
-
 void
 ui_current_print_line(const char *const msg, ...)
 {
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 27026620..87e0f30f 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -78,7 +78,6 @@ void ui_current_print_line(const char *const msg, ...);
 void ui_current_print_formatted_line(const char show_char, int attrs, const char *const msg, ...);
 void ui_current_error_line(const char *const msg);
 void ui_win_error_line(ProfWin *window, const char *const msg);
-win_type_t ui_win_type(int index);
 void ui_close_win(int index);
 int ui_win_unread(int index);
 char* ui_ask_password(void);