diff options
author | Not Zed <NotZed@Ximian.com> | 2004-02-04 13:57:21 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-02-04 13:57:21 +0800 |
commit | 956b17ed95a946949c51bfb6be9b4e358e764a45 (patch) | |
tree | be7b808f76bd99317588d4292a5812a19600d906 /camel/camel-object.c | |
parent | 4d6ccba521e9413d1190cd946561be1991390dc3 (diff) | |
download | gsoc2013-evolution-956b17ed95a946949c51bfb6be9b4e358e764a45.tar.gz gsoc2013-evolution-956b17ed95a946949c51bfb6be9b4e358e764a45.tar.zst gsoc2013-evolution-956b17ed95a946949c51bfb6be9b4e358e764a45.zip |
changed order around, first try to delete and only remove from the object
2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_delete_folder): changed order around,
first try to delete and only remove from the object bag if the
delete worked. If vjunk/vtrash enabled, don't allow those to be
deleted.
(cs_delete_cached_folder): helper to delete the folder if its in
the cache, remove it from trash/junk, etc.
(camel_store_unsubscribe_folder): changed similarly to
delete_folder.
* camel-vee-store.c (vee_delete_folder): dont do any trash/junk
processing anymore.
2004-02-03 Not Zed <NotZed@Ximian.com>
* camel-store.c: use the folders object bag to manage the trash
folder and junk folders. Remove the init_trash and init_junk
stuff, just use get_trash and get_junk to mean the same thing.
Get rid of the hacked up vjunk and vtrash "uri" stuff too.
* camel-object.c (camel_object_bag_add): null out the pair->func,
otherwise we get an uninitalised memory read during unhook event.
svn path=/trunk/; revision=24603
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r-- | camel/camel-object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-object.c b/camel/camel-object.c index 682c0e1924..2af07e15e2 100644 --- a/camel/camel-object.c +++ b/camel/camel-object.c @@ -1736,6 +1736,7 @@ camel_object_bag_add(CamelObjectBag *bag, const void *key, void *vo) pair->name = bag_name; pair->data = bag; pair->flags = 0; + pair->func.event = NULL; pair->next = hooks->list; hooks->list = pair; |