about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-01 21:51:24 +0000
committerJames Booth <boothj5@gmail.com>2015-11-01 21:51:24 +0000
commitd47da01c0009a0f40652dd3bb0da564edba412ab (patch)
tree71c29a1a8738c2eefcd3e16bc4c9b8378ac9a676 /src
parent556985ec39685a164b877e597838d16dc2848ea6 (diff)
downloadprofani-tty-d47da01c0009a0f40652dd3bb0da564edba412ab.tar.gz
Renamed ui_show_room_role_list -> mucwin_show_role_list
Diffstat (limited to 'src')
-rw-r--r--src/command/commands.c6
-rw-r--r--src/ui/mucwin.c2
-rw-r--r--src/ui/ui.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index cab92ef7..3910af34 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -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;
         }
 
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c
index d0e18e70..6dd93bcb 100644
--- a/src/ui/mucwin.c
+++ b/src/ui/mucwin.c
@@ -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);
diff --git a/src/ui/ui.h b/src/ui/ui.h
index adc6db0b..982f838d 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -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);