diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-22 09:36:58 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-22 09:36:58 +0800 |
commit | 9d744b2d27d149cee81b7007bf815895005903f0 (patch) | |
tree | 556fcd8bdde53b06c48791b75dd6123384b47361 /mail/mail-folder-cache.c | |
parent | bffafba763c867b1db2d7f2f374baaed99b61961 (diff) | |
download | gsoc2013-evolution-9d744b2d27d149cee81b7007bf815895005903f0.tar.gz gsoc2013-evolution-9d744b2d27d149cee81b7007bf815895005903f0.tar.zst gsoc2013-evolution-9d744b2d27d149cee81b7007bf815895005903f0.zip |
put note_store back in. Quick hack to fix the issue of folders being
2004-05-22 Not Zed <NotZed@Ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): put note_store back in.
Quick hack to fix the issue of folders being opened before we hook
onto folder_created.
* mail-folder-cache.c: remove 'name' from update struct, not used
anymore
svn path=/trunk/; revision=26043
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r-- | mail/mail-folder-cache.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index eb8b016d81..4f2e3b20d2 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -87,7 +87,6 @@ struct _folder_update { unsigned int new:1; /* new mail arrived? */ char *path; - char *name; char *uri; char *oldpath; char *olduri; @@ -136,7 +135,6 @@ static void free_update(struct _folder_update *up) { g_free(up->path); - g_free(up->name); g_free(up->uri); if (up->store) camel_object_unref(up->store); @@ -377,7 +375,6 @@ setup_folder(CamelFolderInfo *fi, struct _store_info *si) if (mfi) { update_1folder(mfi, 0, fi); } else { - /* always 'add it', but only 'add it' to non-local stores */ /*d(printf("Adding new folder: %s (%s) %d unread\n", fi->path, fi->url, fi->unread_message_count));*/ mfi = g_malloc0(sizeof(*mfi)); mfi->path = g_strdup(fi->path); @@ -391,7 +388,6 @@ setup_folder(CamelFolderInfo *fi, struct _store_info *si) up = g_malloc0(sizeof(*up)); up->path = g_strdup(mfi->path); - up->name = g_strdup(fi->name); up->uri = g_strdup(fi->uri); up->unread = (fi->unread==-1)?0:fi->unread; up->store = si->store; @@ -616,7 +612,6 @@ rename_folders(struct _store_info *si, const char *oldbase, const char *newbase, g_free(old); up->path = g_strdup(mfi->path); - up->name = g_strdup(fi->name); up->uri = g_strdup(mfi->uri); up->unread = fi->unread==-1?0:fi->unread; up->store = si->store; |