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:
parent
8087053f49
commit
61bcb59ee9
@ -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);
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user