diff options
-rw-r--r-- | src/command/commands.c | 4 | ||||
-rw-r--r-- | src/ui/mucwin.c | 2 | ||||
-rw-r--r-- | src/ui/ui.h | 2 | ||||
-rw-r--r-- | tests/unittests/ui/stub_ui.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index efb05f23..514ddce8 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -3171,14 +3171,14 @@ cmd_occupants(ProfWin *window, const char *const command, gchar **args) if (g_strcmp0(args[0], "show") == 0) { if (g_strcmp0(args[1], "jid") == 0) { mucwin->showjid = TRUE; - ui_room_update_occupants(mucwin->roomjid); + mucwin_update_occupants(mucwin->roomjid); } else { ui_room_show_occupants(mucwin->roomjid); } } else if (g_strcmp0(args[0], "hide") == 0) { if (g_strcmp0(args[1], "jid") == 0) { mucwin->showjid = FALSE; - ui_room_update_occupants(mucwin->roomjid); + mucwin_update_occupants(mucwin->roomjid); } else { ui_room_hide_occupants(mucwin->roomjid); } diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index d75140d2..9d13a799 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -768,7 +768,7 @@ mucwin_info(ProfMucWin *mucwin) } void -ui_room_update_occupants(const char *const roomjid) +mucwin_update_occupants(const char *const roomjid) { ProfWin *window = (ProfWin*)wins_get_muc(roomjid); if (window && win_has_active_subwin(window)) { diff --git a/src/ui/ui.h b/src/ui/ui.h index 4095adaf..e9d322a2 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -133,7 +133,7 @@ void mucwin_occupant_nick_change(const char *const roomjid, const char *const ol 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 ui_room_update_occupants(const char *const roomjid); +void mucwin_update_occupants(const char *const roomjid); void ui_room_show_occupants(const char *const roomjid); void ui_room_hide_occupants(const char *const roomjid); void ui_show_roster(void); diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index d8d35928..ed082225 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -235,7 +235,7 @@ void mucwin_occupant_nick_change(const char * const roomjid, 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 ui_room_update_occupants(const char * const roomjid) {} +void mucwin_update_occupants(const char * const roomjid) {} void ui_room_show_occupants(const char * const roomjid) {} void ui_room_hide_occupants(const char * const roomjid) {} void ui_show_roster(void) {} |