aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-switcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-switcher.c')
-rw-r--r--shell/e-shell-switcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c
index b2830cac02..195dc7c896 100644
--- a/shell/e-shell-switcher.c
+++ b/shell/e-shell-switcher.c
@@ -773,7 +773,7 @@ e_shell_switcher_set_visible (EShellSwitcher *switcher,
g_return_if_fail (E_IS_SHELL_SWITCHER (switcher));
- if ((switcher->priv->toolbar_visible ? 1 : 0) == (visible ? 1 : 0))
+ if (switcher->priv->toolbar_visible == visible)
return;
switcher->priv->toolbar_visible = visible;