1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 12:16:34 +01:00

Add groupchat side panel & add new callback

This commit is contained in:
Jfreegman
2013-11-23 21:19:59 -05:00
parent d8da80914d
commit f84ece13de
8 changed files with 88 additions and 30 deletions

View File

@@ -56,7 +56,7 @@ void on_window_resize(int sig)
clear();
}
static void init_term()
static void init_term(void)
{
/* Setup terminal */
signal(SIGWINCH, on_window_resize);
@@ -107,6 +107,7 @@ static Tox *init_tox()
tox_callback_action(m, on_action, NULL);
tox_callback_group_invite(m, on_groupinvite, NULL);
tox_callback_group_message(m, on_groupmessage, NULL);
tox_callback_group_namelistchange(m, on_group_namelistchange, NULL);
tox_callback_file_sendrequest(m, on_file_sendrequest, NULL);
tox_callback_file_control(m, on_file_control, NULL);
tox_callback_file_data(m, on_file_data, NULL);