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

Renamed ui_room_hide_occupants -> mucwin_hide_occupants

This commit is contained in:
James Booth 2015-11-01 21:57:57 +00:00
parent a08f112fd0
commit ed2324900a
5 changed files with 5 additions and 5 deletions

View File

@ -3180,7 +3180,7 @@ cmd_occupants(ProfWin *window, const char *const command, gchar **args)
mucwin->showjid = FALSE; mucwin->showjid = FALSE;
mucwin_update_occupants(mucwin->roomjid); mucwin_update_occupants(mucwin->roomjid);
} else { } else {
ui_room_hide_occupants(mucwin->roomjid); mucwin_hide_occupants(mucwin->roomjid);
} }
} else { } else {
cons_bad_cmd_usage(command); cons_bad_cmd_usage(command);

View File

@ -647,7 +647,7 @@ ui_hide_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);
ui_room_hide_occupants(mucwin->roomjid); mucwin_hide_occupants(mucwin->roomjid);
} }
curr = g_list_next(curr); curr = g_list_next(curr);
} }

View File

@ -787,7 +787,7 @@ mucwin_show_occupants(const char *const roomjid)
} }
void void
ui_room_hide_occupants(const char *const roomjid) mucwin_hide_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

@ -135,7 +135,7 @@ void mucwin_occupant_presence(const char *const roomjid, const char *const nick,
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_show_occupants(const char *const roomjid); void mucwin_show_occupants(const char *const roomjid);
void ui_room_hide_occupants(const char *const roomjid); void mucwin_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);
void ui_roster_add(const char *const barejid, const char *const name); void ui_roster_add(const char *const barejid, const char *const name);

View File

@ -237,7 +237,7 @@ 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_show_occupants(const char * const roomjid) {} void mucwin_show_occupants(const char * const roomjid) {}
void ui_room_hide_occupants(const char * const roomjid) {} void mucwin_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) {}
void ui_roster_add(const char * const barejid, const char * const name) {} void ui_roster_add(const char * const barejid, const char * const name) {}