diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/core.c | 13 | ||||
-rw-r--r-- | src/ui/ui.h | 1 |
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); |