1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-06 22:56:35 +01:00

properly close all groupchats on exit

This commit is contained in:
Jfreegman
2014-12-07 13:51:12 -05:00
parent a0418520a2
commit 82aa64e8f7
3 changed files with 4 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ int init_groupchat_win(ToxWindow *prompt, Tox *m, int groupnum, uint8_t type)
return -1;
}
void kill_groupchat_window(ToxWindow *self)
static void kill_groupchat_window(ToxWindow *self)
{
ChatContext *ctx = self->chatwin;
@@ -173,7 +173,7 @@ void kill_groupchat_window(ToxWindow *self)
del_window(self);
}
static void close_groupchat(ToxWindow *self, Tox *m, int groupnum)
void close_groupchat(ToxWindow *self, Tox *m, int groupnum)
{
tox_del_groupchat(m, groupnum);
group_audio_close_out_device(groupnum);