aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/groupwise/camel-groupwise-provider.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 467bdb2e67..06e78025c4 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2004-08-13 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-summary.c (imap4_summary_fetch_all):
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) {