aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 2287726380..8bd674cc3b 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -500,10 +500,10 @@ mail_config_set_transport (MailConfigService *transport)
MailConfigService *
mail_config_get_default_news (void)
{
- if (!config->sources)
+ if (!config->news)
return NULL;
- return (MailConfigService *)config->sources->data;
+ return (MailConfigService *)config->news->data;
}
GSList *