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

Renamed ui_room_show_occupants -> mucwin_occupants

This commit is contained in:
James Booth 2015-11-01 21:56:17 +00:00
parent 4697393373
commit 2e08910841
5 changed files with 5 additions and 5 deletions

View File

@ -3173,7 +3173,7 @@ cmd_occupants(ProfWin *window, const char *const command, gchar **args)
mucwin->showjid = TRUE;
mucwin_update_occupants(mucwin->roomjid);
} else {
ui_room_show_occupants(mucwin->roomjid);
mucwin_occupants(mucwin->roomjid);
}
} else if (g_strcmp0(args[0], "hide") == 0) {
if (g_strcmp0(args[1], "jid") == 0) {

View File

@ -668,7 +668,7 @@ ui_show_all_room_rosters(void)
if (window->type == WIN_MUC && !win_has_active_subwin(window)) {
ProfMucWin *mucwin = (ProfMucWin*)window;
assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK);
ui_room_show_occupants(mucwin->roomjid);
mucwin_occupants(mucwin->roomjid);
}
curr = g_list_next(curr);
}

View File

@ -777,7 +777,7 @@ mucwin_update_occupants(const char *const roomjid)
}
void
ui_room_show_occupants(const char *const roomjid)
mucwin_occupants(const char *const roomjid)
{
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
if (window && !win_has_active_subwin(window)) {

View File

@ -134,7 +134,7 @@ void mucwin_nick_change(const char *const roomjid, const char *const nick);
void mucwin_occupant_presence(const char *const roomjid, const char *const nick, const char *const show,
const char *const status);
void mucwin_update_occupants(const char *const roomjid);
void ui_room_show_occupants(const char *const roomjid);
void mucwin_occupants(const char *const roomjid);
void ui_room_hide_occupants(const char *const roomjid);
void ui_show_roster(void);
void ui_hide_roster(void);

View File

@ -236,7 +236,7 @@ void mucwin_nick_change(const char * const roomjid, const char * const nick) {}
void mucwin_occupant_presence(const char * const roomjid,
const char * const nick, const char * const show, const char * const status) {}
void mucwin_update_occupants(const char * const roomjid) {}
void ui_room_show_occupants(const char * const roomjid) {}
void mucwin_occupants(const char * const roomjid) {}
void ui_room_hide_occupants(const char * const roomjid) {}
void ui_show_roster(void) {}
void ui_hide_roster(void) {}