aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-view.c')
-rw-r--r--mail/e-mail-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-view.c b/mail/e-mail-view.c
index 1410d15f4e..35326a1677 100644
--- a/mail/e-mail-view.c
+++ b/mail/e-mail-view.c
@@ -204,7 +204,7 @@ static void
mail_view_set_preview_visible (EMailView *view,
gboolean preview_visible)
{
- if ((view->priv->preview_visible ? 1 : 0) == (preview_visible ? 1 : 0))
+ if (view->priv->preview_visible == preview_visible)
return;
view->priv->preview_visible = preview_visible;
@@ -222,7 +222,7 @@ static void
mail_view_set_show_deleted (EMailView *view,
gboolean show_deleted)
{
- if ((view->priv->show_deleted ? 1 : 0) == (show_deleted ? 1 : 0))
+ if (view->priv->show_deleted == show_deleted)
return;
view->priv->show_deleted = show_deleted;