diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-11-10 11:40:00 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-11-11 04:54:43 +0800 |
commit | 2c4ae5e7685c462f8d464448e4617b8dea029e72 (patch) | |
tree | c34f0cbb7c500ff70f10fce846631b0a948b341c /shell/e-shell-window.c | |
parent | 583da46b8caf4b2a8b548b03c38fe0e84164abfb (diff) | |
download | gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.gz gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.zst gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r-- | shell/e-shell-window.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index 8193b52da3..2202757bb1 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -1390,7 +1390,7 @@ e_shell_window_set_safe_mode (EShellWindow *shell_window, { g_return_if_fail (E_IS_SHELL_WINDOW (shell_window)); - if ((shell_window->priv->safe_mode ? 1 : 0) == (safe_mode ? 1 : 0)) + if (shell_window->priv->safe_mode == safe_mode) return; shell_window->priv->safe_mode = safe_mode; @@ -1456,7 +1456,7 @@ e_shell_window_set_sidebar_visible (EShellWindow *shell_window, { g_return_if_fail (E_IS_SHELL_WINDOW (shell_window)); - if ((shell_window->priv->sidebar_visible ? 1 : 0) == (sidebar_visible ? 1 : 0)) + if (shell_window->priv->sidebar_visible == sidebar_visible) return; shell_window->priv->sidebar_visible = sidebar_visible; @@ -1493,7 +1493,7 @@ e_shell_window_set_switcher_visible (EShellWindow *shell_window, { g_return_if_fail (E_IS_SHELL_WINDOW (shell_window)); - if ((shell_window->priv->switcher_visible ? 1 : 0) == (switcher_visible ? 1 : 0)) + if (shell_window->priv->switcher_visible == switcher_visible) return; shell_window->priv->switcher_visible = switcher_visible; @@ -1530,7 +1530,7 @@ e_shell_window_set_taskbar_visible (EShellWindow *shell_window, { g_return_if_fail (E_IS_SHELL_WINDOW (shell_window)); - if ((shell_window->priv->taskbar_visible ? 1 : 0) == (taskbar_visible ? 1 : 0)) + if (shell_window->priv->taskbar_visible == taskbar_visible) return; shell_window->priv->taskbar_visible = taskbar_visible; @@ -1567,7 +1567,7 @@ e_shell_window_set_toolbar_visible (EShellWindow *shell_window, { g_return_if_fail (E_IS_SHELL_WINDOW (shell_window)); - if ((shell_window->priv->toolbar_visible ? 1 : 0) == (toolbar_visible ? 1 : 0)) + if (shell_window->priv->toolbar_visible == toolbar_visible) return; shell_window->priv->toolbar_visible = toolbar_visible; |