diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-07-10 03:05:13 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-07-10 03:05:13 +0800 |
commit | 2bd47d3cda52acc0beb688ffb4a8202412de5c09 (patch) | |
tree | 66b1a9f93e8b5bfdeb8c9350bda05f98d3e7eeca /camel/camel-digest-folder.c | |
parent | 16ce509ec02a99acf7324c4e157cf1cf781a8a67 (diff) | |
download | gsoc2013-evolution-2bd47d3cda52acc0beb688ffb4a8202412de5c09.tar.gz gsoc2013-evolution-2bd47d3cda52acc0beb688ffb4a8202412de5c09.tar.zst gsoc2013-evolution-2bd47d3cda52acc0beb688ffb4a8202412de5c09.zip |
Get rid of the #ifdef ENABLE_THREADS since we no longer plan to
2003-07-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-block-file.c: Get rid of the #ifdef ENABLE_THREADS since
we no longer plan to support/maintain this.
* camel.c: Same.
* camel-certdb.c: Here too.
* camel-charset-map.c: And here.
* camel-cipher-context.c: "
* camel-data-wrapper.c: "
* camel-digest-folder.c: "
* camel-exception.c: "
* camel-folder.c: "
* camel-folder-summary.c: "
* camel-lock-client.c: "
* camel-mime-utils.c: "
* camel-object.c: "
* camel-operation.c: "
* camel-partition-table.c: "
* camel-sasl-popb4smtp.c: "
* camel-service.c: "
* camel-session.c: "
* camel-store.c: "
* camel-store-summary.c: "
* camel-text-index.c: "
* camel-transport.c: "
* camel-vee-folder.c: "
* camel-tcp-stream-openssl.c: Removed pthread.h, it isn't needed.
svn path=/trunk/; revision=21777
Diffstat (limited to 'camel/camel-digest-folder.c')
-rw-r--r-- | camel/camel-digest-folder.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/camel/camel-digest-folder.c b/camel/camel-digest-folder.c index 070e5aed3b..21a4071036 100644 --- a/camel/camel-digest-folder.c +++ b/camel/camel-digest-folder.c @@ -2,7 +2,7 @@ /* * Authors: Jeffrey Stedfast <fejj@ximian.com> * - * Copyright 2001 Ximian, Inc. (www.ximian.com) + * Copyright 2001-2003 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public @@ -39,18 +39,11 @@ struct _CamelDigestFolderPrivate { CamelMimeMessage *message; CamelFolderSearch *search; -#ifdef ENABLE_THREADS GMutex *search_lock; -#endif }; -#ifdef ENABLE_THREADS #define CAMEL_DIGEST_FOLDER_LOCK(f, l) (g_mutex_lock(((CamelDigestFolder *)f)->priv->l)) #define CAMEL_DIGEST_FOLDER_UNLOCK(f, l) (g_mutex_unlock(((CamelDigestFolder *)f)->priv->l)) -#else -#define CAMEL_DIGEST_FOLDER_LOCK(f, l) -#define CAMEL_DIGEST_FOLDER_UNLOCK(f, l) -#endif static CamelFolderClass *parent_class = NULL; @@ -113,12 +106,10 @@ camel_digest_folder_init (gpointer object, gpointer klass) digest_folder->priv = g_new (struct _CamelDigestFolderPrivate, 1); digest_folder->priv->message = NULL; digest_folder->priv->search = NULL; -#ifdef ENABLE_THREADS digest_folder->priv->search_lock = g_mutex_new (); -#endif } -static void +static void digest_finalize (CamelObject *object) { CamelDigestFolder *digest_folder = CAMEL_DIGEST_FOLDER (object); @@ -134,9 +125,7 @@ digest_finalize (CamelObject *object) if (digest_folder->priv->search) camel_object_unref (CAMEL_OBJECT (digest_folder->priv->search)); -#ifdef ENABLE_THREADS g_mutex_free (digest_folder->priv->search_lock); -#endif g_free (digest_folder->priv); } |