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

remove temporary callbacks from refactoring

This commit is contained in:
Aaron Lipinski
2013-08-13 12:32:09 +12:00
parent 722d272128
commit 4a3292a32b
6 changed files with 12 additions and 20 deletions

5
chat.c
View File

@@ -26,8 +26,6 @@ typedef struct {
WINDOW* linewin;
} ChatContext;
static delWindowFn *del_window;
void print_help(ChatContext *self);
void execute(ToxWindow *self, ChatContext *ctx, Messenger *m, char *cmd);
@@ -370,9 +368,8 @@ void print_help(ChatContext *self)
wattroff(self->history, COLOR_PAIR(2));
}
ToxWindow new_chat(Messenger *m, int friendnum, delWindowFn *f)
ToxWindow new_chat(Messenger *m, int friendnum)
{
del_window = f;
ToxWindow ret;
memset(&ret, 0, sizeof(ret));