diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-09 04:01:42 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-09 04:01:42 +0800 |
commit | e74803511e0c3fcdb4b50a24b519fb46f5de97fd (patch) | |
tree | 039f8a8ef5c84bde71189cc4eb80552b7c07c922 /mail/folder-browser-factory.h | |
parent | 9618cd2cb63840bd9138519bc52a3afad07590fa (diff) | |
download | gsoc2013-evolution-e74803511e0c3fcdb4b50a24b519fb46f5de97fd.tar gsoc2013-evolution-e74803511e0c3fcdb4b50a24b519fb46f5de97fd.tar.gz gsoc2013-evolution-e74803511e0c3fcdb4b50a24b519fb46f5de97fd.tar.bz2 gsoc2013-evolution-e74803511e0c3fcdb4b50a24b519fb46f5de97fd.tar.lz gsoc2013-evolution-e74803511e0c3fcdb4b50a24b519fb46f5de97fd.tar.xz 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/folder-browser-factory.h')
0 files changed, 0 insertions, 0 deletions