aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-ops.c6
-rw-r--r--mail/mail-send-recv.c2
3 files changed, 8 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 46a0ab8fd0..a826ffff7c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -29,6 +29,10 @@
(mail_storage_create_folder): Same.
(folder_deleted): Same.
+ * mail-send-recv.c (receive_update_got_store): Same.
+
+ * mail-ops.c (do_update_subfolders): Same.
+
* subscribe-dialog.c (fe_destroy): Unref the e_storage since
lookup_store gives us a ref.
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index b3b47d81d7..bf3427c2b2 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -423,9 +423,9 @@ do_update_subfolders (CamelStore *store, CamelFolderInfo *info, void *data)
}
if (uinfo->done)
- uinfo->done (store, uinfo->data);
-
- gtk_object_unref ((GtkObject *)uinfo->storage);
+ uinfo->done(store, uinfo->data);
+
+ bonobo_object_unref((BonoboObject *)uinfo->storage);
g_free (uinfo);
}
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 0564dd0214..d0fed294b4 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -589,7 +589,7 @@ receive_update_got_store(char *uri, CamelStore *store, void *data)
EvolutionStorage *storage = mail_lookup_storage(store);
if (storage) {
mail_update_subfolders(store, storage, receive_update_done, info);
- gtk_object_unref((GtkObject *)storage);
+ bonobo_object_unref((BonoboObject *)storage);
} else {
receive_done("", info);
}