aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-10-29 04:52:30 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-10-29 05:18:15 +0800
commit6472883a8bee32d7de03802c65b96d97a7e3f643 (patch)
tree472f19f965e51b922798eb3df79b45c65ccb4b96
parentc99b62f8146de95ea5c721296d2eb00c7bf5689b (diff)
downloadgsoc2013-evolution-6472883a8bee32d7de03802c65b96d97a7e3f643.tar
gsoc2013-evolution-6472883a8bee32d7de03802c65b96d97a7e3f643.tar.gz
gsoc2013-evolution-6472883a8bee32d7de03802c65b96d97a7e3f643.tar.bz2
gsoc2013-evolution-6472883a8bee32d7de03802c65b96d97a7e3f643.tar.lz
gsoc2013-evolution-6472883a8bee32d7de03802c65b96d97a7e3f643.tar.xz
gsoc2013-evolution-6472883a8bee32d7de03802c65b96d97a7e3f643.tar.zst
gsoc2013-evolution-6472883a8bee32d7de03802c65b96d97a7e3f643.zip
EMailConfigIdentityPage cleanups.
-rw-r--r--mail/e-mail-config-identity-page.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/e-mail-config-identity-page.c b/mail/e-mail-config-identity-page.c
index 055d449d4b..6bbe701700 100644
--- a/mail/e-mail-config-identity-page.c
+++ b/mail/e-mail-config-identity-page.c
@@ -692,7 +692,7 @@ e_mail_config_identity_page_set_show_account_info (EMailConfigIdentityPage *page
{
g_return_if_fail (E_IS_MAIL_CONFIG_IDENTITY_PAGE (page));
- if ((page->priv->show_account_info ? 1 : 0) == (show_account_info ? 1 : 0))
+ if (page->priv->show_account_info == show_account_info)
return;
page->priv->show_account_info = show_account_info;
@@ -714,7 +714,7 @@ e_mail_config_identity_page_set_show_instructions (EMailConfigIdentityPage *page
{
g_return_if_fail (E_IS_MAIL_CONFIG_IDENTITY_PAGE (page));
- if ((page->priv->show_instructions ? 1 : 0) == (show_instructions ? 1 : 0))
+ if (page->priv->show_instructions == show_instructions)
return;
page->priv->show_instructions = show_instructions;
@@ -736,7 +736,7 @@ e_mail_config_identity_page_set_show_signatures (EMailConfigIdentityPage *page,
{
g_return_if_fail (E_IS_MAIL_CONFIG_IDENTITY_PAGE (page));
- if ((page->priv->show_signatures ? 1 : 0) == (show_signatures ? 1 : 0))
+ if (page->priv->show_signatures == show_signatures)
return;
page->priv->show_signatures = show_signatures;