aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-21 05:37:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-21 05:37:15 +0800
commit7863fdd24ffac4a0d6d13b10a90b220e058bb5ad (patch)
tree82ad6b6f34dea7f97ed1382e207694cbe722c772 /mail/mail-local.c
parentd728e1e79c7a6e3d7797775de7d9ef0320937422 (diff)
downloadgsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.tar.gz
gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.tar.zst
gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.zip
Set the folder info path.
2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_store_add_folder): Set the folder info path. svn path=/trunk/; revision=13020
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index bf5556cfcf..ddbdc26c2e 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -764,10 +764,7 @@ free_info(void *key, void *value, void *data)
{
CamelFolderInfo *info = value;
- g_free(info->url);
- g_free(info->name);
- g_free(info->full_name);
- free(info);
+ camel_folder_info_free (info);
}
static void
@@ -837,6 +834,7 @@ static void mail_local_store_add_folder(MailLocalStore *mls, const char *uri, co
info->full_name = g_strdup(path);
info->name = g_strdup(name);
info->unread_message_count = -1;
+ info->path = g_strdup (path);
g_hash_table_insert(mls->folder_infos, info->url, info);
}