mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Closing window didn't update window activity list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@678 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bae879de22
commit
407ee2bd1b
2 changed files with 6 additions and 11 deletions
|
|
@ -101,8 +101,6 @@ static void windows_pack(int removed_refnum)
|
|||
|
||||
void window_destroy(WINDOW_REC *window)
|
||||
{
|
||||
int refnum;
|
||||
|
||||
g_return_if_fail(window != NULL);
|
||||
|
||||
if (window->destroying) return;
|
||||
|
|
@ -117,17 +115,16 @@ void window_destroy(WINDOW_REC *window)
|
|||
while (window->items != NULL)
|
||||
window_remove_item(window, window->items->data);
|
||||
|
||||
windows_pack(window->refnum);
|
||||
|
||||
signal_emit("window destroyed", 1, window);
|
||||
|
||||
g_slist_foreach(window->waiting_channels, (GFunc) g_free, NULL);
|
||||
g_slist_free(window->waiting_channels);
|
||||
|
||||
refnum = window->refnum;
|
||||
g_free_not_null(window->theme_name);
|
||||
g_free_not_null(window->name);
|
||||
g_free(window);
|
||||
|
||||
windows_pack(refnum);
|
||||
}
|
||||
|
||||
void window_set_active(WINDOW_REC *window)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue