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