aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 0f45d227..551f4a7d 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -1640,7 +1640,7 @@ static void shell_summary_clear(ShellSummary *summary)
g_slist_free(summary->items);
summary->items = NULL;
- gtk_widget_destroy(summary->header);
+ if (summary->header) gtk_widget_destroy(summary->header);
summary->header = NULL;
}
static void shell_summary_create_header(ShellSummary *summary,