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

Renamed ui_handle_room_info_error -> mucwin_room_info_error

This commit is contained in:
James Booth 2015-11-01 21:18:13 +00:00
parent 94f05ff42f
commit bb14b19bb1
4 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,7 @@ mucwin_occupant_role_and_affiliation_change(const char *const roomjid, const cha
}
void
ui_handle_room_info_error(const char *const roomjid, const char *const error)
mucwin_room_info_error(const char *const roomjid, const char *const error)
{
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
if (window) {

View File

@ -114,7 +114,7 @@ void ui_room_destroy(const char *const roomjid);
void ui_show_room_info(ProfMucWin *mucwin);
void ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role);
void ui_show_room_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation);
void ui_handle_room_info_error(const char *const roomjid, const char *const error);
void mucwin_room_info_error(const char *const roomjid, const char *const error);
void ui_show_room_disco_info(const char *const roomjid, GSList *identities, GSList *features);
void ui_room_destroyed(const char *const roomjid, const char *const reason, const char *const new_jid,
const char *const password);

View File

@ -1507,7 +1507,7 @@ _room_info_response_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
if (cb_data->display) {
char *error_message = stanza_get_error_message(stanza);
ui_handle_room_info_error(cb_data->room, error_message);
mucwin_room_info_error(cb_data->room, error_message);
free(error_message);
}
free(cb_data->room);

View File

@ -214,7 +214,7 @@ void ui_room_destroy(const char * const roomjid) {}
void ui_show_room_info(ProfMucWin *mucwin) {}
void ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role) {}
void ui_show_room_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation) {}
void ui_handle_room_info_error(const char * const roomjid, const char * const error) {}
void mucwin_room_info_error(const char * const roomjid, const char * const error) {}
void ui_show_room_disco_info(const char * const roomjid, GSList *identities, GSList *features) {}
void ui_room_destroyed(const char * const roomjid, const char * const reason, const char * const new_jid,
const char * const password) {}