diff options
author | Not Zed <NotZed@Ximian.com> | 2001-08-01 12:57:01 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-08-01 12:57:01 +0800 |
commit | 6f22eb642b794def699ce9341219f56d793a50fb (patch) | |
tree | 13397d532bcc83b891e7d4dfc8e46b72d37d819c /camel/camel-private.h | |
parent | 96d24f1297eaa5a6333b9fcfdf35420d273703af (diff) | |
download | gsoc2013-evolution-6f22eb642b794def699ce9341219f56d793a50fb.tar.gz gsoc2013-evolution-6f22eb642b794def699ce9341219f56d793a50fb.tar.zst gsoc2013-evolution-6f22eb642b794def699ce9341219f56d793a50fb.zip |
Slightly re-arranged filter/change notification logic. If we;re filtering,
2001-08-01 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-folder.c (camel_imap_folder_changed):
Slightly re-arranged filter/change notification logic. If we;re
filtering, freeze the folder till we're finished to smooth the ui
for new mail.
2001-07-31 Not Zed <NotZed@Ximian.com>
* camel-folder.c (camel_folder_init): Chagned mutexes to
e_mutexes, folder lock recursive. This fixes the imap filtering
bug, or at least some cases of it.
(camel_folder_finalize): Free mutexes.
* camel-private.h (CamelFolderPrivate): Changed mutexes to
e_mutexes.
2001-07-25 Not Zed <NotZed@Ximian.com>
* camel-folder.c (camel_folder_change_info_*): Change the
return if fail's into asserts.
(camel_folder_change_info_free): Don't let it accept a NULL
argument. This isn't g_lib so we dont have to.
svn path=/trunk/; revision=11537
Diffstat (limited to 'camel/camel-private.h')
-rw-r--r-- | camel/camel-private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-private.h b/camel/camel-private.h index f63a452a4c..4fb5bdb461 100644 --- a/camel/camel-private.h +++ b/camel/camel-private.h @@ -41,8 +41,8 @@ extern "C" { struct _CamelFolderPrivate { #ifdef ENABLE_THREADS - GMutex *lock; - GMutex *change_lock; + EMutex *lock; + EMutex *change_lock; #endif /* must require the 'change_lock' to access this */ @@ -51,8 +51,8 @@ struct _CamelFolderPrivate { }; #ifdef ENABLE_THREADS -#define CAMEL_FOLDER_LOCK(f, l) (g_mutex_lock(((CamelFolder *)f)->priv->l)) -#define CAMEL_FOLDER_UNLOCK(f, l) (g_mutex_unlock(((CamelFolder *)f)->priv->l)) +#define CAMEL_FOLDER_LOCK(f, l) (e_mutex_lock(((CamelFolder *)f)->priv->l)) +#define CAMEL_FOLDER_UNLOCK(f, l) (e_mutex_unlock(((CamelFolder *)f)->priv->l)) #else #define CAMEL_FOLDER_LOCK(f, l) #define CAMEL_FOLDER_UNLOCK(f, l) |