about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-01 21:30:39 +0000
committerJames Booth <boothj5@gmail.com>2015-11-01 21:30:39 +0000
commit29af5d4a3bef53e975981b9ea9b3bcaec31fa443 (patch)
tree3ec00520574c109de6c806ac263205096b83ffe3
parentd7c1c6f9bfa994e9237df350469be9defa88f00a (diff)
downloadprofani-tty-29af5d4a3bef53e975981b9ea9b3bcaec31fa443.tar.gz
Renamed ui_room_history -> mucwin_history
-rw-r--r--src/event/server_events.c2
-rw-r--r--src/ui/mucwin.c2
-rw-r--r--src/ui/ui.h2
-rw-r--r--tests/unittests/ui/stub_ui.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 5865d84c..5b99bdc1 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -155,7 +155,7 @@ void
 sv_ev_room_history(const char *const room_jid, const char *const nick,
     GDateTime *timestamp, const char *const message)
 {
-    ui_room_history(room_jid, nick, timestamp, message);
+    mucwin_history(room_jid, nick, timestamp, message);
 }
 
 void
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c
index 9035ee95..51d7e922 100644
--- a/src/ui/mucwin.c
+++ b/src/ui/mucwin.c
@@ -336,7 +336,7 @@ mucwin_nick_change(const char *const roomjid, const char *const nick)
 }
 
 void
-ui_room_history(const char *const roomjid, const char *const nick,
+mucwin_history(const char *const roomjid, const char *const nick,
     GDateTime *timestamp, const char *const message)
 {
     ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
diff --git a/src/ui/ui.h b/src/ui/ui.h
index d6f81089..c870ea8b 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -105,7 +105,7 @@ void mucwin_occupant_affiliation_change(const char *const roomjid, const char *c
 void mucwin_occupant_role_and_affiliation_change(const char *const roomjid, const char *const nick,
     const char *const role, const char *const affiliation, const char *const actor, const char *const reason);
 void mucwin_roster(const char *const roomjid, GList *occupants, const char *const presence);
-void ui_room_history(const char *const roomjid, const char *const nick, GDateTime *timestamp,
+void mucwin_history(const char *const roomjid, const char *const nick, GDateTime *timestamp,
     const char *const message);
 void ui_room_message(const char *const roomjid, const char *const nick, const char *const message);
 void ui_room_subject(const char *const roomjid, const char *const nick, const char *const subject);
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index e90c38c6..7ba6028a 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -204,7 +204,7 @@ void mucwin_occupant_affiliation_change(const char * const roomjid, const char *
 void mucwin_occupant_role_and_affiliation_change(const char * const roomjid, const char * const nick, const char * const role,
     const char * const affiliation, const char * const actor, const char * const reason) {}
 void mucwin_roster(const char * const roomjid, GList *occupants, const char * const presence) {}
-void ui_room_history(const char * const roomjid, const char * const nick,
+void mucwin_history(const char * const roomjid, const char * const nick,
     GDateTime *timestamp, const char * const message) {}
 void ui_room_message(const char * const roomjid, const char * const nick,
     const char * const message) {}