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 /camel/ChangeLog | |
parent | 9618cd2cb63840bd9138519bc52a3afad07590fa (diff) | |
download | gsoc2013-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 'camel/ChangeLog')
-rw-r--r-- | camel/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index eb82e302af..bda570f9bc 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,19 @@ +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. + 2001-03-07 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-store.c (init_trash): Implement. |