summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-09-27 00:08:03 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-09-27 00:08:03 +0000
commit407ee2bd1b08da0389ee2d3937d3e993f4b15449 (patch)
tree778ff1449833613857c97e3f581dfeddaa8217b4 /src/fe-text
parentbae879de223ea2f6e3f2ad69b70ad19ba905354d (diff)
downloadirssi-407ee2bd1b08da0389ee2d3937d3e993f4b15449.zip
Closing window didn't update window activity list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@678 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/statusbar-items.c10
1 files changed, 4 insertions, 6 deletions
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 -- */