aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-config-confirm-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-config-confirm-page.c')
-rw-r--r--mail/e-mail-config-confirm-page.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/e-mail-config-confirm-page.c b/mail/e-mail-config-confirm-page.c
index ac3585ad08..6d276263e4 100644
--- a/mail/e-mail-config-confirm-page.c
+++ b/mail/e-mail-config-confirm-page.c
@@ -197,6 +197,9 @@ e_mail_config_confirm_page_set_text (EMailConfigConfirmPage *page,
{
g_return_if_fail (E_IS_MAIL_CONFIG_CONFIRM_PAGE (page));
+ if (g_strcmp0 (page->priv->text, (text != NULL) ? text : "") == 0)
+ return;
+
g_free (page->priv->text);
page->priv->text = g_strdup ((text != NULL) ? text : "");