diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-11-09 01:53:09 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-11-09 02:23:31 +0800 |
commit | 6de9a0e56e9a6800e39a43cb04bc5e0045ff8790 (patch) | |
tree | 9ef9a2a758c88ea176136d7c8ba461716f960685 /mail/test-mail-autoconfig.c | |
parent | 75595d233ba382dee053d70cf35e26b7eff3befa (diff) | |
download | gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.gz gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.bz2 gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.lz gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.xz gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.tar.zst gsoc2013-evolution-6de9a0e56e9a6800e39a43cb04bc5e0045ff8790.zip |
EMailAutoconfig: Restructure XML parsing.
If we get a hit from the online database, parse the XML immediately and
store the results in generic internal structs. Then when we're given an
ESource to populate we can feed it the stored results instead of parsing
the XML on demand (and repeatedly).
What this is really doing is making room for other auto-configuration
methods besides the online database lookup.
Diffstat (limited to 'mail/test-mail-autoconfig.c')
-rw-r--r-- | mail/test-mail-autoconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/test-mail-autoconfig.c b/mail/test-mail-autoconfig.c index 10977a17b2..2ce8cb600a 100644 --- a/mail/test-mail-autoconfig.c +++ b/mail/test-mail-autoconfig.c @@ -45,7 +45,7 @@ main (gint argc, g_assert (E_IS_MAIL_AUTOCONFIG (autoconfig)); - g_print ("%s\n", e_mail_autoconfig_get_markup_content (autoconfig)); + e_mail_autoconfig_dump_results (autoconfig); g_object_unref (autoconfig); |