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

Removed ui_create_xmlconsole_win()

This commit is contained in:
James Booth 2015-11-01 19:29:59 +00:00
parent 486d2e0495
commit 9eae20298f
4 changed files with 2 additions and 11 deletions

View File

@ -4401,7 +4401,8 @@ cmd_xmlconsole(ProfWin *window, const char *const command, gchar **args)
if (xmlwin) {
ui_open_xmlconsole_win();
} else {
ui_create_xmlconsole_win();
ProfWin *window = wins_new_xmlconsole();
ui_switch_win(window);
}
return TRUE;

View File

@ -222,13 +222,6 @@ ui_load_colours(void)
}
}
void
ui_create_xmlconsole_win(void)
{
ProfWin *window = wins_new_xmlconsole();
ui_switch_win(window);
}
void
ui_open_xmlconsole_win(void)
{

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_create_xmlconsole_win(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_create_xmlconsole_win(void) {}
void ui_open_xmlconsole_win(void) {}
gboolean ui_win_has_unsaved_form(int num)