about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-16 22:13:49 +0100
committerJames Booth <boothj5@gmail.com>2016-10-16 22:13:49 +0100
commit333403d2e5c54039d84578c94dfe777ebf7d08d0 (patch)
tree6b5318525af32142fbb1f727d4107b0ec25ad76e /src/ui
parent769e71b17b32235b3efd0a05c94709f3f6e0a4d8 (diff)
downloadprofani-tty-333403d2e5c54039d84578c94dfe777ebf7d08d0.tar.gz
Remove ui_current_print_formatted_line
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c13
-rw-r--r--src/ui/ui.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index a72423e4..62cf3a02 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -732,19 +732,6 @@ ui_prune_wins(void)
 }
 
 void
-ui_current_print_formatted_line(const char show_char, int attrs, const char *const msg, ...)
-{
-    ProfWin *current = wins_get_current();
-    va_list arg;
-    va_start(arg, msg);
-    GString *fmt_msg = g_string_new(NULL);
-    g_string_vprintf(fmt_msg, msg, arg);
-    win_println(current, attrs, show_char, "%s", fmt_msg->str);
-    va_end(arg);
-    g_string_free(fmt_msg, TRUE);
-}
-
-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 5a8a09ae..44d87966 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -75,7 +75,6 @@ void ui_print_system_msg_from_recipient(const char *const barejid, const char *m
 void ui_close_connected_win(int index);
 int ui_close_all_wins(void);
 int ui_close_read_wins(void);
-void ui_current_print_formatted_line(const char show_char, int attrs, const char *const msg, ...);
 void ui_close_win(int index);
 int ui_win_unread(int index);
 char* ui_ask_password(void);