1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Removed ui_open_xmlconsole_win()

This commit is contained in:
James Booth 2015-11-01 19:33:01 +00:00
parent 9eae20298f
commit 7e386fbf00
4 changed files with 1 additions and 13 deletions

View File

@ -4399,7 +4399,7 @@ cmd_xmlconsole(ProfWin *window, const char *const command, gchar **args)
{
ProfXMLWin *xmlwin = wins_get_xmlconsole();
if (xmlwin) {
ui_open_xmlconsole_win();
ui_switch_win((ProfWin*)xmlwin);
} else {
ProfWin *window = wins_new_xmlconsole();
ui_switch_win(window);

View File

@ -222,15 +222,6 @@ ui_load_colours(void)
}
}
void
ui_open_xmlconsole_win(void)
{
ProfXMLWin *xmlwin = wins_get_xmlconsole();
if (xmlwin) {
ui_switch_win((ProfWin*)xmlwin);
}
}
void
ui_handle_stanza(const char *const msg)
{

View File

@ -188,7 +188,6 @@ void ui_update_presence(const resource_presence_t resource_presence, const char
void ui_statusbar_new(const int win);
void ui_write(char *line, int offset);
void ui_invalid_command_usage(const char *const cmd, void (*setting_func)(void));
void ui_open_xmlconsole_win(void);
gboolean ui_win_has_unsaved_form(int num);
void ui_inp_history_append(char *inp);

View File

@ -320,8 +320,6 @@ void ui_inp_history_append(char *inp) {}
void ui_invalid_command_usage(const char * const usage, void (*setting_func)(void)) {}
void ui_open_xmlconsole_win(void) {}
gboolean ui_win_has_unsaved_form(int num)
{
return FALSE;