diff options
Diffstat (limited to 'src/event/ui_events.c')
-rw-r--r-- | src/event/ui_events.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/event/ui_events.c b/src/event/ui_events.c index c079c0e6..2ad7562d 100644 --- a/src/event/ui_events.c +++ b/src/event/ui_events.c @@ -40,9 +40,8 @@ ui_ev_focus_win(ProfWin *win) ui_switch_win(win); } -void +ProfChatWin* ui_ev_new_chat_win(const char * const barejid) { - ProfWin *win = ui_new_chat_win(barejid); - ui_switch_win(win); + return ui_new_chat_win(barejid); } \ No newline at end of file |