1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Moved ui_outgoing_private_msg to privwin.c

This commit is contained in:
James Booth 2015-11-05 23:30:51 +00:00
parent 9fcdc5901c
commit ebff1fc81e
2 changed files with 5 additions and 6 deletions

View File

@ -769,12 +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); win_vprint(window, '-', 0, NULL, 0, 0, "", "*%s %s", barejid, message);
} }
void
ui_outgoing_private_msg(ProfPrivateWin *privwin, const char *const message)
{
win_print((ProfWin*)privwin, '-', 0, NULL, 0, THEME_TEXT_ME, "me", message);
}
void void
ui_room_join(const char *const roomjid, gboolean focus) ui_room_join(const char *const roomjid, gboolean focus)
{ {

View File

@ -83,3 +83,8 @@ ui_incoming_private_msg(const char *const fulljid, const char *const message, GD
free(display_from); free(display_from);
} }
void
ui_outgoing_private_msg(ProfPrivateWin *privwin, const char *const message)
{
win_print((ProfWin*)privwin, '-', 0, NULL, 0, THEME_TEXT_ME, "me", message);
}