1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed ui_ev_new_chat_win

This commit is contained in:
James Booth 2015-10-27 20:45:07 +00:00
parent 8087053f49
commit 61bcb59ee9
3 changed files with 3 additions and 10 deletions

View File

@ -1523,7 +1523,7 @@ cmd_msg(ProfWin *window, const char *const command, gchar **args)
ProfChatWin *chatwin = wins_get_chat(barejid); ProfChatWin *chatwin = wins_get_chat(barejid);
if (!chatwin) { if (!chatwin) {
chatwin = ui_ev_new_chat_win(barejid); chatwin = ui_new_chat_win(barejid);
} }
ui_switch_win((ProfWin*)chatwin); ui_switch_win((ProfWin*)chatwin);
@ -4666,7 +4666,7 @@ cmd_pgp(ProfWin *window, const char *const command, gchar **args)
chatwin = wins_get_chat(barejid); chatwin = wins_get_chat(barejid);
if (!chatwin) { if (!chatwin) {
chatwin = ui_ev_new_chat_win(barejid); chatwin = ui_new_chat_win(barejid);
} }
ui_switch_win((ProfWin*)chatwin); ui_switch_win((ProfWin*)chatwin);
} else { } else {
@ -4867,7 +4867,7 @@ cmd_otr(ProfWin *window, const char *const command, gchar **args)
ProfChatWin *chatwin = wins_get_chat(barejid); ProfChatWin *chatwin = wins_get_chat(barejid);
if (!chatwin) { if (!chatwin) {
chatwin = ui_ev_new_chat_win(barejid); chatwin = ui_new_chat_win(barejid);
} }
ui_switch_win((ProfWin*)chatwin); ui_switch_win((ProfWin*)chatwin);

View File

@ -35,12 +35,6 @@
#include "ui/ui.h" #include "ui/ui.h"
#include "window_list.h" #include "window_list.h"
ProfChatWin*
ui_ev_new_chat_win(const char *const barejid)
{
return ui_new_chat_win(barejid);
}
ProfPrivateWin* ProfPrivateWin*
ui_ev_new_private_win(const char *const fulljid) ui_ev_new_private_win(const char *const fulljid)
{ {

View File

@ -35,7 +35,6 @@
#ifndef UI_EVENTS_H #ifndef UI_EVENTS_H
#define 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); ProfPrivateWin* ui_ev_new_private_win(const char *const fulljid);
#endif #endif