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

Renamed mucwin_occupants -> mucwin_show_occupants

This commit is contained in:
James Booth 2015-11-01 21:57:18 +00:00
parent 2e08910841
commit a08f112fd0
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->showjid = TRUE;
mucwin_update_occupants(mucwin->roomjid); mucwin_update_occupants(mucwin->roomjid);
} else { } else {
mucwin_occupants(mucwin->roomjid); mucwin_show_occupants(mucwin->roomjid);
} }
} else if (g_strcmp0(args[0], "hide") == 0) { } else if (g_strcmp0(args[0], "hide") == 0) {
if (g_strcmp0(args[1], "jid") == 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)) { if (window->type == WIN_MUC && !win_has_active_subwin(window)) {
ProfMucWin *mucwin = (ProfMucWin*)window; ProfMucWin *mucwin = (ProfMucWin*)window;
assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK); assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK);
mucwin_occupants(mucwin->roomjid); mucwin_show_occupants(mucwin->roomjid);
} }
curr = g_list_next(curr); curr = g_list_next(curr);
} }

View File

@ -777,7 +777,7 @@ mucwin_update_occupants(const char *const roomjid)
} }
void void
mucwin_occupants(const char *const roomjid) mucwin_show_occupants(const char *const roomjid)
{ {
ProfWin *window = (ProfWin*)wins_get_muc(roomjid); ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
if (window && !win_has_active_subwin(window)) { 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, void mucwin_occupant_presence(const char *const roomjid, const char *const nick, const char *const show,
const char *const status); const char *const status);
void mucwin_update_occupants(const char *const roomjid); void mucwin_update_occupants(const char *const roomjid);
void mucwin_occupants(const char *const roomjid); void mucwin_show_occupants(const char *const roomjid);
void ui_room_hide_occupants(const char *const roomjid); void ui_room_hide_occupants(const char *const roomjid);
void ui_show_roster(void); void ui_show_roster(void);
void ui_hide_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, void mucwin_occupant_presence(const char * const roomjid,
const char * const nick, const char * const show, const char * const status) {} const char * const nick, const char * const show, const char * const status) {}
void mucwin_update_occupants(const char * const roomjid) {} void mucwin_update_occupants(const char * const roomjid) {}
void mucwin_occupants(const char * const roomjid) {} void mucwin_show_occupants(const char * const roomjid) {}
void ui_room_hide_occupants(const char * const roomjid) {} void ui_room_hide_occupants(const char * const roomjid) {}
void ui_show_roster(void) {} void ui_show_roster(void) {}
void ui_hide_roster(void) {} void ui_hide_roster(void) {}