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

Renamed ui_room_role_change -> mucwin_role_change

This commit is contained in:
James Booth 2015-11-01 21:11:30 +00:00
parent bb5150b062
commit 75b505cf6a
4 changed files with 4 additions and 4 deletions

View File

@ -592,7 +592,7 @@ sv_ev_muc_self_online(const char *const room, const char *const nick, gboolean c
// role changed // role changed
} else if (g_strcmp0(role, old_role) != 0) { } else if (g_strcmp0(role, old_role) != 0) {
ui_room_role_change(room, role, actor, reason); mucwin_role_change(room, role, actor, reason);
// affiliation changed // affiliation changed
} else if (g_strcmp0(affiliation, old_affiliation) != 0) { } else if (g_strcmp0(affiliation, old_affiliation) != 0) {

View File

@ -39,7 +39,7 @@
#include "ui/window.h" #include "ui/window.h"
void void
ui_room_role_change(const char *const roomjid, const char *const role, const char *const actor, mucwin_role_change(const char *const roomjid, const char *const role, const char *const actor,
const char *const reason) const char *const reason)
{ {
ProfWin *window = (ProfWin*)wins_get_muc(roomjid); ProfWin *window = (ProfWin*)wins_get_muc(roomjid);

View File

@ -92,7 +92,7 @@ void ui_disconnected(void);
void ui_outgoing_private_msg(ProfPrivateWin *privwin, const char *const message); void ui_outgoing_private_msg(ProfPrivateWin *privwin, const char *const message);
void ui_room_join(const char *const roomjid, gboolean focus); void ui_room_join(const char *const roomjid, gboolean focus);
void ui_switch_to_room(const char *const roomjid); void ui_switch_to_room(const char *const roomjid);
void ui_room_role_change(const char *const roomjid, const char *const role, const char *const actor, void mucwin_role_change(const char *const roomjid, const char *const role, const char *const actor,
const char *const reason); const char *const reason);
void ui_room_affiliation_change(const char *const roomjid, const char *const affiliation, const char *const actor, void ui_room_affiliation_change(const char *const roomjid, const char *const affiliation, const char *const actor,
const char *const reason); const char *const reason);

View File

@ -191,7 +191,7 @@ void ui_outgoing_private_msg(ProfPrivateWin *privwin, const char * const message
void ui_room_join(const char * const roomjid, gboolean focus) {} void ui_room_join(const char * const roomjid, gboolean focus) {}
void ui_switch_to_room(const char * const roomjid) {} void ui_switch_to_room(const char * const roomjid) {}
void ui_room_role_change(const char * const roomjid, const char * const role, const char * const actor, void mucwin_role_change(const char * const roomjid, const char * const role, const char * const actor,
const char * const reason) {} const char * const reason) {}
void ui_room_affiliation_change(const char * const roomjid, const char * const affiliation, const char * const actor, void ui_room_affiliation_change(const char * const roomjid, const char * const affiliation, const char * const actor,
const char * const reason) {} const char * const reason) {}