mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-01 19:24:15 -04:00
Removed ui_new_private_win
This commit is contained in:
parent
f1daec663d
commit
9fcdc5901c
@ -1497,7 +1497,7 @@ cmd_msg(ProfWin *window, const char *const command, gchar **args)
|
||||
|
||||
ProfPrivateWin *privwin = wins_get_private(full_jid->str);
|
||||
if (!privwin) {
|
||||
privwin = ui_new_private_win(full_jid->str);
|
||||
privwin = (ProfPrivateWin*)wins_new_private(full_jid->str);
|
||||
}
|
||||
ui_focus_win((ProfWin*)privwin);
|
||||
|
||||
|
@ -769,13 +769,6 @@ ui_print_system_msg_from_recipient(const char *const barejid, const char *messag
|
||||
win_vprint(window, '-', 0, NULL, 0, 0, "", "*%s %s", barejid, message);
|
||||
}
|
||||
|
||||
ProfPrivateWin*
|
||||
ui_new_private_win(const char *const fulljid)
|
||||
{
|
||||
ProfWin *window = wins_new_private(fulljid);
|
||||
return (ProfPrivateWin*)window;
|
||||
}
|
||||
|
||||
void
|
||||
ui_outgoing_private_msg(ProfPrivateWin *privwin, const char *const message)
|
||||
{
|
||||
|
@ -68,7 +68,6 @@ void ui_sigwinch_handler(int sig);
|
||||
void ui_handle_otr_error(const char *const barejid, const char *const message);
|
||||
unsigned long ui_get_idle_time(void);
|
||||
void ui_reset_idle_time(void);
|
||||
ProfPrivateWin* ui_new_private_win(const char *const fulljid);
|
||||
void ui_print_system_msg_from_recipient(const char *const barejid, const char *message);
|
||||
void ui_close_connected_win(int index);
|
||||
int ui_close_all_wins(void);
|
||||
|
@ -83,10 +83,6 @@ unsigned long ui_get_idle_time(void)
|
||||
}
|
||||
|
||||
void ui_reset_idle_time(void) {}
|
||||
ProfPrivateWin* ui_new_private_win(const char * const fulljid)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ProfChatWin* chatwin_new(const char * const barejid)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user