[evolution/gnome-3-6] EMailConfigIdentityPage cleanups.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-6] EMailConfigIdentityPage cleanups.
- Date: Sun, 28 Oct 2012 21:19:58 +0000 (UTC)
commit bf585a65ca47ee25c644814002e44fab389e4463
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Oct 28 16:52:30 2012 -0400
EMailConfigIdentityPage cleanups.
(cherry picked from commit 6472883a8bee32d7de03802c65b96d97a7e3f643)
mail/e-mail-config-identity-page.c | 6 +++---
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 055d449..6bbe701 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]