diff options
Turn off w() -> warnings.
2001-10-29 <NotZed@Ximian.com>
* camel-mime-utils.c: Turn off w() -> warnings.
* providers/imap/camel-imap-store.c (rename_folder): Also rename
the message cache.
(rename_folder): Fix subscribed folders table with rename(s).
* providers/imap/camel-imap-folder.c (imap_rename): Implement,
rename the cache dir pointer.
* providers/imap/camel-imap-message-cache.c
(camel_imap_message_cache_set_path): New method to set the path
used by a message cache.
svn path=/trunk/; revision=14327
Diffstat (limited to 'camel/providers/imap/camel-imap-message-cache.c')
-rw-r--r-- | camel/providers/imap/camel-imap-message-cache.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c index ab5d125d6e..e5cddf9bae 100644 --- a/camel/providers/imap/camel-imap-message-cache.c +++ b/camel/providers/imap/camel-imap-message-cache.c @@ -209,6 +209,20 @@ camel_imap_message_cache_max_uid (CamelImapMessageCache *cache) return cache->max_uid; } +/** + * camel_imap_message_cache_set_path: + * @cache: + * @path: + * + * Set the path used for the message cache. + **/ +void +camel_imap_message_cache_set_path (CamelImapMessageCache *cache, const char *path) +{ + g_free(cache->path); + cache->path = g_strdup(path); +} + static void stream_finalize (CamelObject *stream, gpointer event_data, gpointer user_data) { |