diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-18 02:32:05 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-18 02:32:05 +0800 |
commit | 92ac615eae3da8f390aa216a2c13a8bdd14eeb6b (patch) | |
tree | 5dc03f0bfbf838d332df2eef068808f23d9c9bd0 /camel | |
parent | e8a1d5b72daaba280a5e973969477d21a6854ab1 (diff) | |
download | gsoc2013-evolution-92ac615eae3da8f390aa216a2c13a8bdd14eeb6b.tar gsoc2013-evolution-92ac615eae3da8f390aa216a2c13a8bdd14eeb6b.tar.gz gsoc2013-evolution-92ac615eae3da8f390aa216a2c13a8bdd14eeb6b.tar.bz2 gsoc2013-evolution-92ac615eae3da8f390aa216a2c13a8bdd14eeb6b.tar.lz gsoc2013-evolution-92ac615eae3da8f390aa216a2c13a8bdd14eeb6b.tar.xz gsoc2013-evolution-92ac615eae3da8f390aa216a2c13a8bdd14eeb6b.tar.zst gsoc2013-evolution-92ac615eae3da8f390aa216a2c13a8bdd14eeb6b.zip |
remove the camel-remote-store private struct
svn path=/trunk/; revision=17209
Diffstat (limited to 'camel')
-rw-r--r-- | camel/camel-private.h | 18 |
1 files changed, 1 insertions, 17 deletions
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 */ |