aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-08-12 05:11:23 +0800
committerChris Toshok <toshok@src.gnome.org>2000-08-12 05:11:23 +0800
commitf399a64ee80c7724514a4acb047a3eca0b9e59f4 (patch)
tree3183cf041bd33007337ffa6922b5d0ba40a5ab0b
parent82531ef38a893e6da86eb431696d504b393a0235 (diff)
downloadgsoc2013-evolution-f399a64ee80c7724514a4acb047a3eca0b9e59f4.tar
gsoc2013-evolution-f399a64ee80c7724514a4acb047a3eca0b9e59f4.tar.gz
gsoc2013-evolution-f399a64ee80c7724514a4acb047a3eca0b9e59f4.tar.bz2
gsoc2013-evolution-f399a64ee80c7724514a4acb047a3eca0b9e59f4.tar.lz
gsoc2013-evolution-f399a64ee80c7724514a4acb047a3eca0b9e59f4.tar.xz
gsoc2013-evolution-f399a64ee80c7724514a4acb047a3eca0b9e59f4.tar.zst
gsoc2013-evolution-f399a64ee80c7724514a4acb047a3eca0b9e59f4.zip
use config->news instead of config->sources.
2000-08-11 Chris Toshok <toshok@helixcode.com> * mail-config.c (mail_config_get_default_news): use config->news instead of config->sources. svn path=/trunk/; revision=4753
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-config.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 07faeb7cc8..70a28c9156 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-11 Chris Toshok <toshok@helixcode.com>
+
+ * mail-config.c (mail_config_get_default_news): use config->news
+ instead of config->sources.
+
2000-08-11 Dan Winship <danw@helixcode.com>
* mail-format.c (destroy_part): Update this for CamelObject
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 *