about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-02 21:07:04 +0000
committerJames Booth <boothj5@gmail.com>2015-11-02 21:07:04 +0000
commit2089eebf09332a6ebb0dc584123d8b9486d2fc82 (patch)
tree829a5cbd5702a94a8eed1351f33fdc3613e91110 /src
parentbcd19c6d16a3ff6892ad6aa41b68a2f97277239d (diff)
downloadprofani-tty-2089eebf09332a6ebb0dc584123d8b9486d2fc82.tar.gz
Removed ui_win_type
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);