mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 11:06:21 +00:00
Return new window on new chat win event
This commit is contained in:
@@ -40,9 +40,8 @@ ui_ev_focus_win(ProfWin *win)
|
||||
ui_switch_win(win);
|
||||
}
|
||||
|
||||
void
|
||||
ProfWin*
|
||||
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);
|
||||
}
|
||||
@@ -36,6 +36,6 @@
|
||||
#define UI_EVENTS_H
|
||||
|
||||
void ui_ev_focus_win(ProfWin *win);
|
||||
void ui_ev_new_chat_win(const char * const barejid);
|
||||
ProfWin* ui_ev_new_chat_win(const char * const barejid);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user