Removed window parameter from window_item_remove() and

window_item_destroy()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1079 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-06 21:58:28 +00:00 committed by cras
commit dd68c2fa5f
5 changed files with 16 additions and 10 deletions

View file

@ -58,7 +58,7 @@ static void signal_channel_destroyed(CHANNEL_REC *channel)
window = window_item_window((WI_ITEM_REC *) channel);
if (window != NULL) {
window_item_destroy(window, (WI_ITEM_REC *) channel);
window_item_destroy((WI_ITEM_REC *) channel);
if (window->items == NULL && windows->next != NULL &&
(!channel->joined || channel->left) &&