1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed cons_good_show

This commit is contained in:
James Booth 2012-03-01 00:43:44 +00:00
parent 2acf15de0d
commit 2fd9e788a9
4 changed files with 2 additions and 9 deletions

View File

@ -108,7 +108,7 @@ static int _cmd_connect(char *inp)
conn_status = jabber_connect(user, passwd);
if (conn_status == JABBER_CONNECTING)
cons_good_show("Connecting...");
cons_show("Connecting...");
if (conn_status == JABBER_DISCONNECTED)
cons_bad_show("Connection to server failed.");

View File

@ -196,7 +196,7 @@ static void _jabber_conn_handler(xmpp_conn_t * const conn,
sprintf(line, "%s %s", jid, msg);
title_bar_connected();
cons_good_show(line);
cons_show(line);
status_bar_print_message(jid);
status_bar_refresh();

View File

@ -181,12 +181,6 @@ void cons_help(void)
cons_show(" F2-10 : Chat windows.");
}
void cons_good_show(char *msg)
{
_win_show_time(_cons_win);
wprintw(_cons_win, "%s\n", msg);
}
void cons_bad_show(char *msg)
{
_win_show_time(_cons_win);

View File

@ -65,7 +65,6 @@ void cons_not_disconnected(void);
void cons_not_connected(void);
void cons_bad_message(void);
void cons_show(char *cmd);
void cons_good_show(char *cmd);
void cons_bad_show(char *cmd);
void cons_highlight_show(char *cmd);