From 407ee2bd1b08da0389ee2d3937d3e993f4b15449 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 27 Sep 2000 00:08:03 +0000 Subject: Closing window didn't update window activity list. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@678 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/statusbar-items.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/fe-text') diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c index b59ce59b..2b6abfdb 100644 --- a/src/fe-text/statusbar-items.c +++ b/src/fe-text/statusbar-items.c @@ -464,13 +464,11 @@ static void sig_statusbar_activity_hilight(WINDOW_REC *window, gpointer oldlevel static void sig_statusbar_activity_window_destroyed(WINDOW_REC *window) { - g_return_if_fail(window != NULL); + g_return_if_fail(window != NULL); - if (g_list_find(activity_list, window) != NULL) - { - activity_list = g_list_remove(activity_list, window); - statusbar_item_redraw(activity_item); - } + if (g_list_find(activity_list, window) != NULL) + activity_list = g_list_remove(activity_list, window); + statusbar_item_redraw(activity_item); } /* redraw -- more -- */ -- cgit v1.2.3