aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;