1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-28 06:13:15 +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

View File

@@ -165,7 +165,7 @@ ToxWindow * init_windows()
int n_prompt = 0;
int n_friendslist = 1;
if (add_window(m, new_prompt(on_friendadded), n_prompt) == -1
|| add_window(m, new_friendlist(del_window, set_active_window, add_window, WINDOW_STATUS), n_friendslist) == -1) {
|| add_window(m, new_friendlist(WINDOW_STATUS), n_friendslist) == -1) {
fprintf(stderr, "add_window() failed.\n");
endwin();
exit(1);