aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-11-10 11:40:00 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-11-11 04:54:43 +0800
commit2c4ae5e7685c462f8d464448e4617b8dea029e72 (patch)
treec34f0cbb7c500ff70f10fce846631b0a948b341c /mail/e-mail-view.c
parent583da46b8caf4b2a8b548b03c38fe0e84164abfb (diff)
downloadgsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.gz
gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.tar.zst
gsoc2013-evolution-2c4ae5e7685c462f8d464448e4617b8dea029e72.zip
Coding style and whitespace cleanup.
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;