summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-bar.c')
-rw-r--r--src/gui/gui-bar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c
index 03c03932b..e7fc5a5d4 100644
--- a/src/gui/gui-bar.c
+++ b/src/gui/gui-bar.c
@@ -842,8 +842,7 @@ gui_bar_config_change_hidden (const void *pointer, void *data,
{
if (CONFIG_BOOLEAN(ptr_bar->options[GUI_BAR_OPTION_HIDDEN]))
{
- if (ptr_bar->bar_window)
- gui_bar_window_free (ptr_bar->bar_window, NULL);
+ gui_bar_window_free (ptr_bar->bar_window, NULL);
}
else
{