aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
author1 <NotZed@Ximian.com>2001-09-21 13:58:31 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-21 13:58:31 +0800
commitb2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b (patch)
treeebc5a4cdbefa3b6909683c66d8b55719dfe79b04 /mail/mail-send-recv.c
parent03238847a7bfc2717a2bd4fe636a42b3a42bc4af (diff)
downloadgsoc2013-evolution-b2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b.tar
gsoc2013-evolution-b2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b.tar.gz
gsoc2013-evolution-b2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b.tar.bz2
gsoc2013-evolution-b2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b.tar.lz
gsoc2013-evolution-b2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b.tar.xz
gsoc2013-evolution-b2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b.tar.zst
gsoc2013-evolution-b2e7adf9b88f9dda003f4e077c5db0dc8cb50d8b.zip
Take a new argument 'done' that can callback when complete. Fixed callers
2001-09-21 <NotZed@Ximian.com> * mail-folder-cache.c (mail_note_store): Take a new argument 'done' that can callback when complete. Fixed callers appropriately. * mail-ops.c (mail_update_subfolders): Removed. Isn't used anymore. * mail-send-recv.c (receive_update_got_store): Remove call to mail_update_subfolders. svn path=/trunk/; revision=13044
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index fff2332749..db5e23483a 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -542,7 +542,7 @@ receive_done (char *uri, void *data)
/* same for updating */
static void
-receive_update_done(CamelStore *store, void *data)
+receive_update_done(CamelStore *store, CamelFolderInfo *info, void *data)
{
receive_done("", data);
}
@@ -601,11 +601,8 @@ receive_update_got_store (char *uri, CamelStore *store, void *data)
EvolutionStorage *storage = mail_lookup_storage (store);
if (storage) {
- if (!gtk_object_get_data (GTK_OBJECT (storage), "connected"))
- mail_note_store(store, storage, CORBA_OBJECT_NIL);
-
- mail_update_subfolders (store, storage, receive_update_done, info);
- bonobo_object_unref (BONOBO_OBJECT (storage));
+ mail_note_store(store, storage, CORBA_OBJECT_NIL, receive_update_done, info);
+ /*bonobo_object_unref (BONOBO_OBJECT (storage));*/
} else {
receive_done ("", info);
}