diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-16 04:18:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-16 04:18:08 +0800 |
commit | f620356a6fc4a13fa805370c5d768082ebfba856 (patch) | |
tree | 013f8da94bfa6d0ab30f4690e59780e7f132e780 /mail/mail-folder-cache.c | |
parent | 244694ee58bf5eec443dc26135fc78fb24bcbd57 (diff) | |
download | gsoc2013-evolution-f620356a6fc4a13fa805370c5d768082ebfba856.tar.gz gsoc2013-evolution-f620356a6fc4a13fa805370c5d768082ebfba856.tar.zst gsoc2013-evolution-f620356a6fc4a13fa805370c5d768082ebfba856.zip |
Call mail_vfolder_shutdown.
2001-10-15 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (owner_unset_cb): Call
mail_vfolder_shutdown.
* mail-vfolder.c (mail_vfolder_shutdown): Unref all of our
VFolders.
* mail-folder-cache.c (real_note_folder): Remember to unref the
folder before returning if we have already noted this folder.
svn path=/trunk/; revision=13682
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r-- | mail/mail-folder-cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 9cad33c02e..b1bf92bee0 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -236,8 +236,10 @@ real_note_folder(CamelFolder *folder, void *event_data, void *data) } /* dont do anything if we already have this */ - if (mfi->folder == folder) + if (mfi->folder == folder) { + camel_object_unref (CAMEL_OBJECT (folder)); return; + } mfi->folder = folder; update_1folder(mfi, NULL); |