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

Renamed ui_show_room_role_list -> mucwin_show_role_list

This commit is contained in:
James Booth 2015-11-01 21:51:24 +00:00
parent 556985ec39
commit d47da01c00
4 changed files with 6 additions and 6 deletions

View File

@ -1209,15 +1209,15 @@ _who_room(ProfWin *window, const char *const command, gchar **args)
// role or affiliation filter
} else {
if (g_strcmp0(args[0], "moderator") == 0) {
ui_show_room_role_list(mucwin, MUC_ROLE_MODERATOR);
mucwin_show_role_list(mucwin, MUC_ROLE_MODERATOR);
return;
}
if (g_strcmp0(args[0], "participant") == 0) {
ui_show_room_role_list(mucwin, MUC_ROLE_PARTICIPANT);
mucwin_show_role_list(mucwin, MUC_ROLE_PARTICIPANT);
return;
}
if (g_strcmp0(args[0], "visitor") == 0) {
ui_show_room_role_list(mucwin, MUC_ROLE_VISITOR);
mucwin_show_role_list(mucwin, MUC_ROLE_VISITOR);
return;
}

View File

@ -681,7 +681,7 @@ mucwin_handle_role_list(const char *const roomjid, const char *const role, GSLis
}
void
ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role)
mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role)
{
ProfWin *window = (ProfWin*) mucwin;
GSList *occupants = muc_occupants_by_role(mucwin->roomjid, role);

View File

@ -112,7 +112,7 @@ void mucwin_subject(const char *const roomjid, const char *const nick, const cha
void mucwin_requires_config(const char *const roomjid);
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 mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role);
void mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation);
void mucwin_room_info_error(const char *const roomjid, const char *const error);
void mucwin_room_disco_info(const char *const roomjid, GSList *identities, GSList *features);

View File

@ -212,7 +212,7 @@ void mucwin_subject(const char * const roomjid, const char * const nick, const c
void mucwin_requires_config(const char * const roomjid) {}
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 mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role) {}
void mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation) {}
void mucwin_room_info_error(const char * const roomjid, const char * const error) {}
void mucwin_room_disco_info(const char * const roomjid, GSList *identities, GSList *features) {}