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

Renamed ui_handle_room_role_list_error -> mucwin_role_list_error

This commit is contained in:
James Booth 2015-11-01 21:48:28 +00:00
parent 381bce385f
commit 2cc5f17871
4 changed files with 4 additions and 4 deletions

View File

@ -642,7 +642,7 @@ mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation)
} }
void void
ui_handle_room_role_list_error(const char *const roomjid, const char *const role, const char *const error) mucwin_role_list_error(const char *const roomjid, const char *const role, const char *const error)
{ {
ProfWin *window = (ProfWin*)wins_get_muc(roomjid); ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
if (window) { if (window) {

View File

@ -162,7 +162,7 @@ void ui_handle_room_affiliation_set_error(const char *const roomjid, const char
const char *const affiliation, const char *const error); const char *const affiliation, const char *const error);
void ui_handle_room_role_set_error(const char *const roomjid, const char *const nick, const char *const role, void ui_handle_room_role_set_error(const char *const roomjid, const char *const nick, const char *const role,
const char *const error); const char *const error);
void ui_handle_room_role_list_error(const char *const roomjid, const char *const role, const char *const error); void mucwin_role_list_error(const char *const roomjid, const char *const role, const char *const error);
void ui_handle_room_role_list(const char *const roomjid, const char *const role, GSList *nicks); void ui_handle_room_role_list(const char *const roomjid, const char *const role, GSList *nicks);
void mucwin_kick_error(const char *const roomjid, const char *const nick, const char *const error); void mucwin_kick_error(const char *const roomjid, const char *const nick, const char *const error);
void ui_show_form(ProfMucConfWin *confwin); void ui_show_form(ProfMucConfWin *confwin);

View File

@ -1390,7 +1390,7 @@ _room_role_list_result_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const sta
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) { if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
char *error_message = stanza_get_error_message(stanza); char *error_message = stanza_get_error_message(stanza);
log_debug("Error retrieving %s list for room %s: %s", role, from, error_message); log_debug("Error retrieving %s list for room %s: %s", role, from, error_message);
ui_handle_room_role_list_error(from, role, error_message); mucwin_role_list_error(from, role, error_message);
free(error_message); free(error_message);
free(role); free(role);
return 0; return 0;

View File

@ -282,7 +282,7 @@ void ui_handle_room_affiliation_set_error(const char * const roomjid, const char
const char * const affiliation, const char * const error) {} const char * const affiliation, const char * const error) {}
void ui_handle_room_role_set_error(const char * const roomjid, const char * const nick, const char * const role, void ui_handle_room_role_set_error(const char * const roomjid, const char * const nick, const char * const role,
const char * const error) {} const char * const error) {}
void ui_handle_room_role_list_error(const char * const roomjid, const char * const role, const char * const error) {} void mucwin_role_list_error(const char * const roomjid, const char * const role, const char * const error) {}
void ui_handle_room_role_list(const char * const roomjid, const char * const role, GSList *nicks) {} void ui_handle_room_role_list(const char * const roomjid, const char * const role, GSList *nicks) {}
void mucwin_kick_error(const char * const roomjid, const char * const nick, const char * const error) {} void mucwin_kick_error(const char * const roomjid, const char * const nick, const char * const error) {}
void ui_show_form(ProfMucConfWin *confwin) {} void ui_show_form(ProfMucConfWin *confwin) {}