about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-27 20:45:07 +0000
committerJames Booth <boothj5@gmail.com>2015-10-27 20:45:07 +0000
commit61bcb59ee9a131c4adb413409c0d3077f6677027 (patch)
tree3e9d11561cc229fd01393c224c5445ed869c1161
parent8087053f496ae2bb8c68e56bdcf3dd1eaf8c2827 (diff)
downloadprofani-tty-61bcb59ee9a131c4adb413409c0d3077f6677027.tar.gz
Removed ui_ev_new_chat_win
-rw-r--r--src/command/commands.c6
-rw-r--r--src/event/ui_events.c6
-rw-r--r--src/event/ui_events.h1
3 files changed, 3 insertions, 10 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 4a0cd782..cb68b6b9 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1523,7 +1523,7 @@ cmd_msg(ProfWin *window, const char *const command, gchar **args)
 
         ProfChatWin *chatwin = wins_get_chat(barejid);
         if (!chatwin) {
-            chatwin = ui_ev_new_chat_win(barejid);
+            chatwin = ui_new_chat_win(barejid);
         }
         ui_switch_win((ProfWin*)chatwin);
 
@@ -4666,7 +4666,7 @@ cmd_pgp(ProfWin *window, const char *const command, gchar **args)
 
             chatwin = wins_get_chat(barejid);
             if (!chatwin) {
-                chatwin = ui_ev_new_chat_win(barejid);
+                chatwin = ui_new_chat_win(barejid);
             }
             ui_switch_win((ProfWin*)chatwin);
         } else {
@@ -4867,7 +4867,7 @@ cmd_otr(ProfWin *window, const char *const command, gchar **args)
 
             ProfChatWin *chatwin = wins_get_chat(barejid);
             if (!chatwin) {
-                chatwin = ui_ev_new_chat_win(barejid);
+                chatwin = ui_new_chat_win(barejid);
             }
             ui_switch_win((ProfWin*)chatwin);
 
diff --git a/src/event/ui_events.c b/src/event/ui_events.c
index cbdece4e..63b7d244 100644
--- a/src/event/ui_events.c
+++ b/src/event/ui_events.c
@@ -35,12 +35,6 @@
 #include "ui/ui.h"
 #include "window_list.h"
 
-ProfChatWin*
-ui_ev_new_chat_win(const char *const barejid)
-{
-    return ui_new_chat_win(barejid);
-}
-
 ProfPrivateWin*
 ui_ev_new_private_win(const char *const fulljid)
 {
diff --git a/src/event/ui_events.h b/src/event/ui_events.h
index b42c6f01..97fd916a 100644
--- a/src/event/ui_events.h
+++ b/src/event/ui_events.h
@@ -35,7 +35,6 @@
 #ifndef UI_EVENTS_H
 #define UI_EVENTS_H
 
-ProfChatWin* ui_ev_new_chat_win(const char *const barejid);
 ProfPrivateWin* ui_ev_new_private_win(const char *const fulljid);
 
 #endif