mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Renamed ui_new_chat_win -> chatwin_new
This commit is contained in:
parent
dfd55d24cd
commit
ea09dcda18
@ -1522,7 +1522,7 @@ cmd_msg(ProfWin *window, const char *const command, gchar **args)
|
||||
|
||||
ProfChatWin *chatwin = wins_get_chat(barejid);
|
||||
if (!chatwin) {
|
||||
chatwin = ui_new_chat_win(barejid);
|
||||
chatwin = chatwin_new(barejid);
|
||||
}
|
||||
ui_switch_win((ProfWin*)chatwin);
|
||||
|
||||
@ -4665,7 +4665,7 @@ cmd_pgp(ProfWin *window, const char *const command, gchar **args)
|
||||
|
||||
chatwin = wins_get_chat(barejid);
|
||||
if (!chatwin) {
|
||||
chatwin = ui_new_chat_win(barejid);
|
||||
chatwin = chatwin_new(barejid);
|
||||
}
|
||||
ui_switch_win((ProfWin*)chatwin);
|
||||
} else {
|
||||
@ -4866,7 +4866,7 @@ cmd_otr(ProfWin *window, const char *const command, gchar **args)
|
||||
|
||||
ProfChatWin *chatwin = wins_get_chat(barejid);
|
||||
if (!chatwin) {
|
||||
chatwin = ui_new_chat_win(barejid);
|
||||
chatwin = chatwin_new(barejid);
|
||||
}
|
||||
ui_switch_win((ProfWin*)chatwin);
|
||||
|
||||
|
@ -198,7 +198,7 @@ chatwin_recipient_gone(ProfChatWin *chatwin)
|
||||
}
|
||||
|
||||
ProfChatWin*
|
||||
ui_new_chat_win(const char *const barejid)
|
||||
chatwin_new(const char *const barejid)
|
||||
{
|
||||
ProfWin *window = wins_new_chat(barejid);
|
||||
ProfChatWin *chatwin = (ProfChatWin *)window;
|
||||
@ -294,7 +294,7 @@ ui_outgoing_chat_msg_carbon(const char *const barejid, const char *const message
|
||||
|
||||
// create new window
|
||||
if (!chatwin) {
|
||||
chatwin = ui_new_chat_win(barejid);
|
||||
chatwin = chatwin_new(barejid);
|
||||
}
|
||||
|
||||
chat_state_active(chatwin->state);
|
||||
|
@ -74,7 +74,7 @@ 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);
|
||||
ProfChatWin* ui_new_chat_win(const char *const barejid);
|
||||
ProfChatWin* chatwin_new(const char *const barejid);
|
||||
void ui_print_system_msg_from_recipient(const char *const barejid, const char *message);
|
||||
gint ui_unread(void);
|
||||
void ui_close_connected_win(int index);
|
||||
|
@ -85,7 +85,7 @@ ProfPrivateWin* ui_new_private_win(const char * const fulljid)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ProfChatWin* ui_new_chat_win(const char * const barejid)
|
||||
ProfChatWin* chatwin_new(const char * const barejid)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user