aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-08-16 16:19:13 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-08-16 16:19:13 +0800
commit69cccd6d7890a900217d46c81b89f14cbd3c6aaa (patch)
tree8bf6c0f6e643711d90079420064661b6e98ce217 /camel/providers
parent8f703a0b08fbb91f1091cb7ac3941fb8b0e011ee (diff)
downloadgsoc2013-evolution-69cccd6d7890a900217d46c81b89f14cbd3c6aaa.tar
gsoc2013-evolution-69cccd6d7890a900217d46c81b89f14cbd3c6aaa.tar.gz
gsoc2013-evolution-69cccd6d7890a900217d46c81b89f14cbd3c6aaa.tar.bz2
gsoc2013-evolution-69cccd6d7890a900217d46c81b89f14cbd3c6aaa.tar.lz
gsoc2013-evolution-69cccd6d7890a900217d46c81b89f14cbd3c6aaa.tar.xz
gsoc2013-evolution-69cccd6d7890a900217d46c81b89f14cbd3c6aaa.tar.zst
gsoc2013-evolution-69cccd6d7890a900217d46c81b89f14cbd3c6aaa.zip
pass an exception handle to camel_provider_get.
2004-08-16 Not Zed <NotZed@Ximian.com> * providers/groupwise/camel-groupwise-provider.c (camel_provider_module_init): pass an exception handle to camel_provider_get. svn path=/trunk/; revision=26944
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/groupwise/camel-groupwise-provider.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/providers/groupwise/camel-groupwise-provider.c b/camel/providers/groupwise/camel-groupwise-provider.c
index 34a47e8ef5..bf0d7e4073 100644
--- a/camel/providers/groupwise/camel-groupwise-provider.c
+++ b/camel/providers/groupwise/camel-groupwise-provider.c
@@ -131,8 +131,9 @@ void
camel_provider_module_init(void)
{
CamelProvider *imap_provider;
+ CamelException ex = CAMEL_EXCEPTION_INITIALISER;
- imap_provider = camel_provider_get("imap://", NULL);
+ imap_provider = camel_provider_get("imap://", &ex);
groupwise_provider.url_hash = groupwise_url_hash;
groupwise_provider.url_equal = groupwise_url_equal;
groupwise_provider.auto_detect = groupwise_auto_detect_cb;
@@ -140,6 +141,8 @@ camel_provider_module_init(void)
if (imap_provider != NULL) {
groupwise_provider.object_types[CAMEL_PROVIDER_STORE] = imap_provider->object_types [CAMEL_PROVIDER_STORE];
camel_provider_register(&groupwise_provider);
+ } else {
+ camel_exception_clear(&ex);
}
if (!config_listener) {