diff options
author | James Booth <boothj5@gmail.com> | 2015-10-27 23:06:27 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-10-27 23:06:27 +0000 |
commit | ae890287727c8b3c6d9ea05bdf0621acbd4bc7bf (patch) | |
tree | b08d86834e9d9614d71af4ece3eaaabbc8ac78c9 | |
parent | 62c2febc11457baf00220f9c3951397dac7989d1 (diff) | |
download | profani-tty-ae890287727c8b3c6d9ea05bdf0621acbd4bc7bf.tar.gz |
Renamed ui_recipient_gone -> chatwin_recipeint_gone
-rw-r--r-- | src/event/server_events.c | 2 | ||||
-rw-r--r-- | src/ui/chatwin.c | 2 | ||||
-rw-r--r-- | src/ui/ui.h | 2 | ||||
-rw-r--r-- | tests/unittests/ui/stub_ui.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c index 2a66d6fe..7d5ff5fe 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -356,7 +356,7 @@ sv_ev_gone(const char *const barejid, const char *const resource) show_message = FALSE; } if (show_message) { - ui_recipient_gone(chatwin); + chatwin_recipient_gone(chatwin); } } } diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index c4fe9507..f0453a7c 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -191,7 +191,7 @@ ui_handle_otr_error(const char *const barejid, const char *const message) } void -ui_recipient_gone(ProfChatWin *chatwin) +chatwin_recipient_gone(ProfChatWin *chatwin) { const char *display_usr = NULL; PContact contact = roster_get_contact(chatwin->barejid); diff --git a/src/ui/ui.h b/src/ui/ui.h index 81a600c3..5a7c8e1f 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -104,7 +104,7 @@ void ui_incoming_private_msg(const char *const fulljid, const char *const messag void chatwin_receipt_received(ProfChatWin *chatwin, const char *const id); void ui_disconnected(void); -void ui_recipient_gone(ProfChatWin *chatwin); +void chatwin_recipient_gone(ProfChatWin *chatwin); void ui_outgoing_chat_msg(ProfChatWin *chatwin, const char *const message, char *id, prof_enc_t enc_mode); void ui_outgoing_chat_msg_carbon(const char *const barejid, const char *const message); diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 4967d8b6..a486099e 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -179,7 +179,7 @@ void chatwin_receipt_received(ProfChatWin *chatwin, const char * const id) {} void ui_incoming_private_msg(const char * const fulljid, const char * const message, GDateTime *timestamp) {} void ui_disconnected(void) {} -void ui_recipient_gone(ProfChatWin *chatwin) {} +void chatwin_recipient_gone(ProfChatWin *chatwin) {} void ui_outgoing_chat_msg(ProfChatWin *chatwin, const char * const message, char *id, prof_enc_t enc_mode) {} void ui_outgoing_chat_msg_carbon(const char * const barejid, const char * const message) {} |