diff options
author | James Booth <boothj5@gmail.com> | 2015-10-27 20:45:07 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-10-27 20:45:07 +0000 |
commit | 61bcb59ee9a131c4adb413409c0d3077f6677027 (patch) | |
tree | 3e9d11561cc229fd01393c224c5445ed869c1161 | |
parent | 8087053f496ae2bb8c68e56bdcf3dd1eaf8c2827 (diff) | |
download | profani-tty-61bcb59ee9a131c4adb413409c0d3077f6677027.tar.gz |
Removed ui_ev_new_chat_win
-rw-r--r-- | src/command/commands.c | 6 | ||||
-rw-r--r-- | src/event/ui_events.c | 6 | ||||
-rw-r--r-- | src/event/ui_events.h | 1 |
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 |