aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-06-19 05:08:05 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-19 05:08:05 +0800
commitfeab0c308a0f5c9144817390f83332ad72312000 (patch)
treeec33fd94bb696c9d57553d879a9cdcc6c3fdd509 /camel/camel.c
parent3b512ca3c8bed0ea497a8e30046362b583754e16 (diff)
downloadgsoc2013-evolution-feab0c308a0f5c9144817390f83332ad72312000.tar.gz
gsoc2013-evolution-feab0c308a0f5c9144817390f83332ad72312000.tar.zst
gsoc2013-evolution-feab0c308a0f5c9144817390f83332ad72312000.zip
Call camel_mime_utils_shutdown() and camel_operation_shutdown().
2004-06-18 Jeffrey Stedfast <fejj@novell.com> * camel.c (camel_shutdown): Call camel_mime_utils_shutdown() and camel_operation_shutdown(). (camel_init): Don't register camel_shutdown() as an atexit handler. * camel-operation.c (camel_operation_shutdown): New function. * camel-mime-utils.c (camel_mime_utils_shutdown): New function to clean up the compiled regexes. svn path=/trunk/; revision=26429
Diffstat (limited to 'camel/camel.c')
-rw-r--r--camel/camel.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/camel/camel.c b/camel/camel.c
index f370d891d0..a3f4961076 100644
--- a/camel/camel.c
+++ b/camel/camel.c
@@ -43,7 +43,7 @@
static int initialised = FALSE;
-static void
+void
camel_shutdown (void)
{
void camel_operation_shutdown (void);
@@ -123,8 +123,6 @@ camel_init (const char *configdir, gboolean nss_init)
camel_object_unref (certdb);
- g_atexit (camel_shutdown);
-
initialised = TRUE;
return 0;