From 7863fdd24ffac4a0d6d13b10a90b220e058bb5ad Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 20 Sep 2001 21:37:15 +0000 Subject: Set the folder info path. 2001-09-20 Jeffrey Stedfast * mail-local.c (mail_local_store_add_folder): Set the folder info path. svn path=/trunk/; revision=13020 --- mail/mail-local.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mail/mail-local.c') 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); } -- cgit