about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-15 20:09:14 +0100
committerJames Booth <boothj5@gmail.com>2016-10-15 20:09:14 +0100
commit80309462caf20a84ff444638c7a8b67b2c7bc0a9 (patch)
tree060307fce46ed94e5e3a1f870bd9e3e52b9d9149 /src
parent3b2ceee89bb4c25434745d1e7085c509f6014d0b (diff)
downloadprofani-tty-80309462caf20a84ff444638c7a8b67b2c7bc0a9.tar.gz
Rename win_print_incoming_message -> win_print_incoming
Diffstat (limited to 'src')
-rw-r--r--src/ui/chatwin.c4
-rw-r--r--src/ui/privwin.c4
-rw-r--r--src/ui/window.c2
-rw-r--r--src/ui/window.h2
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);