diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/chatwin.c | 4 | ||||
-rw-r--r-- | src/ui/privwin.c | 4 | ||||
-rw-r--r-- | src/ui/window.c | 2 | ||||
-rw-r--r-- | src/ui/window.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index f901f117..4632e706 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -247,7 +247,7 @@ chatwin_incoming_msg(ProfChatWin *chatwin, const char *const resource, const cha // currently viewing chat window with sender if (wins_is_current(window)) { - win_print_incoming_message(window, timestamp, display_name, plugin_message, enc_mode); + win_print_incoming(window, timestamp, display_name, plugin_message, enc_mode); title_bar_set_typing(FALSE); status_bar_active(num); @@ -274,7 +274,7 @@ chatwin_incoming_msg(ProfChatWin *chatwin, const char *const resource, const cha } } - win_print_incoming_message(window, timestamp, display_name, plugin_message, enc_mode); + win_print_incoming(window, timestamp, display_name, plugin_message, enc_mode); } if (prefs_get_boolean(PREF_BEEP)) { diff --git a/src/ui/privwin.c b/src/ui/privwin.c index e7fca112..7fb9c62d 100644 --- a/src/ui/privwin.c +++ b/src/ui/privwin.c @@ -60,7 +60,7 @@ privwin_incoming_msg(ProfPrivateWin *privatewin, const char *const message, GDat // currently viewing chat window with sender if (wins_is_current(window)) { - win_print_incoming_message(window, timestamp, jidp->resourcepart, message, PROF_MSG_PLAIN); + win_print_incoming(window, timestamp, jidp->resourcepart, message, PROF_MSG_PLAIN); title_bar_set_typing(FALSE); status_bar_active(num); @@ -68,7 +68,7 @@ privwin_incoming_msg(ProfPrivateWin *privatewin, const char *const message, GDat } else { status_bar_new(num); cons_show_incoming_private_message(jidp->resourcepart, jidp->barejid, num, privatewin->unread); - win_print_incoming_message(window, timestamp, jidp->resourcepart, message, PROF_MSG_PLAIN); + win_print_incoming(window, timestamp, jidp->resourcepart, message, PROF_MSG_PLAIN); privatewin->unread++; diff --git a/src/ui/window.c b/src/ui/window.c index 2175ad6c..07dcc9dc 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -984,7 +984,7 @@ win_show_status_string(ProfWin *window, const char *const from, } void -win_print_incoming_message(ProfWin *window, GDateTime *timestamp, +win_print_incoming(ProfWin *window, GDateTime *timestamp, const char *const from, const char *const message, prof_enc_t enc_mode) { char enc_char = '-'; diff --git a/src/ui/window.h b/src/ui/window.h index 4c1b31a6..9f84eabf 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -61,7 +61,7 @@ void win_show_status_string(ProfWin *window, const char *const from, const char *const default_show); void win_print_outgoing(ProfWin *window, const char ch, const char *const message, ...); -void win_print_incoming_message(ProfWin *window, GDateTime *timestamp, +void win_print_incoming(ProfWin *window, GDateTime *timestamp, const char *const from, const char *const message, prof_enc_t enc_mode); void win_print_http_upload(ProfWin *window, const char *const message, char *url); |