aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-importer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-09 04:01:42 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-09 04:01:42 +0800
commite74803511e0c3fcdb4b50a24b519fb46f5de97fd (patch)
tree039f8a8ef5c84bde71189cc4eb80552b7c07c922 /mail/mail-importer.c
parent9618cd2cb63840bd9138519bc52a3afad07590fa (diff)
downloadgsoc2013-evolution-e74803511e0c3fcdb4b50a24b519fb46f5de97fd.tar.gz
gsoc2013-evolution-e74803511e0c3fcdb4b50a24b519fb46f5de97fd.tar.zst
gsoc2013-evolution-e74803511e0c3fcdb4b50a24b519fb46f5de97fd.zip
These fixes make it so that the CamelStore does not actually hold a ref on
2001-03-08 Jeffrey Stedfast <fejj@ximian.com> These fixes make it so that the CamelStore does not actually hold a ref on it's vTrash folder. The vTrash folder is now created ONLY when it is requested. This solves the problem of not being able to unref a Store and have it disconnect/finalize like we expect it to. * camel-store.c (init_trash): When we create the vtrash, add all previously opened folders to it and hook on to the finalize event so that we can then set the store->vtrash to NULL. (get_trash): If a vtrash folder for the store doesn't exist, init_trash() and then try. (construct): No longer need this. (camel_store_class_init): Don't override the construct method. (camel_store_finalize): We no longer hold a ref on the vtrash so don't unref it. svn path=/trunk/; revision=8595
Diffstat (limited to 'mail/mail-importer.c')
0 files changed, 0 insertions, 0 deletions