about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-15 17:08:29 +0100
committerJames Booth <boothj5@gmail.com>2016-10-15 17:08:29 +0100
commit478c749ff96a78bdd97d4cc9928f8f3b25eec067 (patch)
tree5e501dff1c9f4b258b0d25f873c6ca68bcb93d0d /src/ui
parent9d075c980597306aec6e167bd84379e8211b4135 (diff)
downloadprofani-tty-478c749ff96a78bdd97d4cc9928f8f3b25eec067.tar.gz
Remove ui_current_error_line
Diffstat (limited to 'src/ui')
-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 dd6b56e1..7e762398 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -758,13 +758,6 @@ ui_current_print_formatted_line(const char show_char, int attrs, const char *con
 }
 
 void
-ui_current_error_line(const char *const msg)
-{
-    ProfWin *current = wins_get_current();
-    win_printf_line(current, THEME_ERROR, '-', "%s", msg);
-}
-
-void
 ui_print_system_msg_from_recipient(const char *const barejid, const char *message)
 {
     if (barejid == NULL || message == NULL)
diff --git a/src/ui/ui.h b/src/ui/ui.h
index f0302a3a..c858a889 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -77,7 +77,6 @@ int ui_close_all_wins(void);
 int ui_close_read_wins(void);
 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_close_win(int index);
 int ui_win_unread(int index);
 char* ui_ask_password(void);