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

Removed ui_clear_win

This commit is contained in:
James Booth 2015-11-02 21:21:52 +00:00
parent 84adec83f9
commit 022d20bbdc
5 changed files with 3 additions and 12 deletions

View File

@ -3530,7 +3530,7 @@ cmd_tiny(ProfWin *window, const char *const command, gchar **args)
gboolean gboolean
cmd_clear(ProfWin *window, const char *const command, gchar **args) cmd_clear(ProfWin *window, const char *const command, gchar **args)
{ {
ui_clear_win(window); win_clear(window);
return TRUE; return TRUE;
} }

View File

@ -1074,12 +1074,6 @@ ui_clear_win_title(void)
printf("%c]0;%c", '\033', '\007'); printf("%c]0;%c", '\033', '\007');
} }
void
ui_clear_win(ProfWin *window)
{
win_clear(window);
}
void void
ui_goodbye_title(void) ui_goodbye_title(void)
{ {

View File

@ -124,7 +124,6 @@ void ui_handle_software_version_error(const char *const roomjid, const char *con
void ui_show_software_version(const char *const jid, const char *const presence, const char *const name, void ui_show_software_version(const char *const jid, const char *const presence, const char *const name,
const char *const version, const char *const os); const char *const version, const char *const os);
void ui_prune_wins(void); void ui_prune_wins(void);
void ui_clear_win(ProfWin *window);
void ui_auto_away(char *message, gint time, resource_presence_t res_presence); void ui_auto_away(char *message, gint time, resource_presence_t res_presence);
void ui_handle_login_account_success(ProfAccount *account, int secured); void ui_handle_login_account_success(ProfAccount *account, int secured);
void ui_update_presence(const resource_presence_t resource_presence, const char *const message, const char *const show); void ui_update_presence(const resource_presence_t resource_presence, const char *const message, const char *const show);
@ -332,6 +331,7 @@ void win_show_contact(ProfWin *window, PContact contact);
void win_show_info(ProfWin *window, PContact contact); void win_show_info(ProfWin *window, PContact contact);
void win_println(ProfWin *window, int pad, const char *const message); void win_println(ProfWin *window, int pad, const char *const message);
void win_vprintln_ch(ProfWin *window, char ch, const char *const message, ...); void win_vprintln_ch(ProfWin *window, char ch, const char *const message, ...);
void win_clear(ProfWin *window);
// desktop notifications // desktop notifications
void notifier_initialise(void); void notifier_initialise(void);

View File

@ -72,8 +72,6 @@ void win_mark_received(ProfWin *window, const char *const id);
gboolean win_has_active_subwin(ProfWin *window); gboolean win_has_active_subwin(ProfWin *window);
void win_clear(ProfWin *window);
void win_page_up(ProfWin *window); void win_page_up(ProfWin *window);
void win_page_down(ProfWin *window); void win_page_down(ProfWin *window);
void win_sub_page_down(ProfWin *window); void win_sub_page_down(ProfWin *window);

View File

@ -139,8 +139,6 @@ int ui_win_unread(int index)
return 0; return 0;
} }
void ui_clear_win(ProfWin *window) {}
char * ui_ask_password(void) char * ui_ask_password(void)
{ {
return mock_ptr_type(char *); return mock_ptr_type(char *);
@ -505,6 +503,7 @@ void win_show_contact(ProfWin *window, PContact contact) {}
void win_show_info(ProfWin *window, PContact contact) {} void win_show_info(ProfWin *window, PContact contact) {}
void win_println(ProfWin *window, int pad, const char * const message) {} void win_println(ProfWin *window, int pad, const char * const message) {}
void win_vprintln_ch(ProfWin *window, char ch, const char *const message, ...) {} void win_vprintln_ch(ProfWin *window, char ch, const char *const message, ...) {}
void win_clear(ProfWin *window) {}
// desktop notifier actions // desktop notifier actions
void notifier_uninit(void) {} void notifier_uninit(void) {}