diff options
author | James Booth <boothj5@gmail.com> | 2015-10-27 23:28:59 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-10-27 23:28:59 +0000 |
commit | 77e854c1e8c940a8dd939adab6ab00e909b9f133 (patch) | |
tree | ab2b32823e12f8934445f764837e80aefc38e016 | |
parent | 31016a21503c42c95eaa8115b8fe7f389c634dd0 (diff) | |
download | profani-tty-77e854c1e8c940a8dd939adab6ab00e909b9f133.tar.gz |
Renamed _win_show_history -> _chatwin_history
-rw-r--r-- | src/ui/chatwin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index 58b6c6eb..591635bb 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -45,7 +45,7 @@ #include "ui/window.h" #include "ui/titlebar.h" -static void _win_show_history(ProfChatWin *chatwin, const char *const contact); +static void _chatwin_history(ProfChatWin *chatwin, const char *const contact); ProfChatWin* chatwin_new(const char *const barejid) @@ -54,7 +54,7 @@ chatwin_new(const char *const barejid) ProfChatWin *chatwin = (ProfChatWin *)window; if (prefs_get_boolean(PREF_CHLOG) && prefs_get_boolean(PREF_HISTORY)) { - _win_show_history(chatwin, barejid); + _chatwin_history(chatwin, barejid); } // if the contact is offline, show a message @@ -249,7 +249,7 @@ chatwin_incoming_msg(ProfChatWin *chatwin, const char *const resource, const cha chatwin->unread++; if (prefs_get_boolean(PREF_CHLOG) && prefs_get_boolean(PREF_HISTORY)) { - _win_show_history(chatwin, chatwin->barejid); + _chatwin_history(chatwin, chatwin->barejid); } // show users status first, when receiving message via delayed delivery @@ -336,7 +336,7 @@ ui_chat_win_contact_offline(PContact contact, char *resource, char *status) } static void -_win_show_history(ProfChatWin *chatwin, const char *const contact) +_chatwin_history(ProfChatWin *chatwin, const char *const contact) { if (!chatwin->history_shown) { Jid *jid = jid_create(jabber_get_fulljid()); |