From 92ac615eae3da8f390aa216a2c13a8bdd14eeb6b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 17 Jun 2002 18:32:05 +0000 Subject: remove the camel-remote-store private struct svn path=/trunk/; revision=17209 --- camel/camel-private.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'camel') diff --git a/camel/camel-private.h b/camel/camel-private.h index 55b5cd5f5e..3d1e7e445c 100644 --- a/camel/camel-private.h +++ b/camel/camel-private.h @@ -128,22 +128,6 @@ struct _CamelSessionPrivate { #endif -struct _CamelRemoteStorePrivate { -#ifdef ENABLE_THREADS - EMutex *stream_lock; /* for locking stream operations */ -#else - gpointer dummy; -#endif -}; - -#ifdef ENABLE_THREADS -#define CAMEL_REMOTE_STORE_LOCK(f, l) (e_mutex_lock(((CamelRemoteStore *)f)->priv->l)) -#define CAMEL_REMOTE_STORE_UNLOCK(f, l) (e_mutex_unlock(((CamelRemoteStore *)f)->priv->l)) -#else -#define CAMEL_REMOTE_STORE_LOCK(f, l) -#define CAMEL_REMOTE_STORE_UNLOCK(f, l) -#endif - /* most of this stuff really is private, but the lock can be used by subordinate classes */ struct _CamelFolderSummaryPrivate { GHashTable *filter_charset; /* CamelMimeFilterCharset's indexed by source charset */ @@ -198,7 +182,7 @@ struct _CamelStoreSummaryPrivate { struct _CamelVeeFolderPrivate { GList *folders; /* lock using subfolder_lock before changing/accessing */ GList *folders_changed; /* for list of folders that have changed between updates */ - + #ifdef ENABLE_THREADS GMutex *summary_lock; /* for locking vfolder summary */ GMutex *subfolder_lock; /* for locking the subfolder list */ -- cgit