aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-13 12:17:42 +0800
committerDan Winship <danw@src.gnome.org>2000-08-13 12:17:42 +0800
commit05a0341981506392137e5ed820b80192d274c35d (patch)
tree60e5a25726eec61736aa762d05954157cfcff746 /mail/mail-ops.c
parentd1245d7e6b2bde4a5e6f55516dbfedf9b4f6b6e8 (diff)
downloadgsoc2013-evolution-05a0341981506392137e5ed820b80192d274c35d.tar
gsoc2013-evolution-05a0341981506392137e5ed820b80192d274c35d.tar.gz
gsoc2013-evolution-05a0341981506392137e5ed820b80192d274c35d.tar.bz2
gsoc2013-evolution-05a0341981506392137e5ed820b80192d274c35d.tar.lz
gsoc2013-evolution-05a0341981506392137e5ed820b80192d274c35d.tar.xz
gsoc2013-evolution-05a0341981506392137e5ed820b80192d274c35d.tar.zst
gsoc2013-evolution-05a0341981506392137e5ed820b80192d274c35d.zip
Lose a reference to the store on purpose. To be fixed later.
* mail-ops.c (do_scan_subfolders): Lose a reference to the store on purpose. To be fixed later. svn path=/trunk/; revision=4794
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index db2230ccb5..5043d82d73 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -813,6 +813,12 @@ do_scan_subfolders (gpointer in_data, gpointer op_data, CamelException * ex)
}
camel_folder_free_subfolder_names (folder, lsub);
+
+ /* FIXME: We intentionally lose a reference to the store here
+ * for the benefit of the IMAP provider. Undo this when the
+ * namespace situation is fixed.
+ */
+ camel_object_ref (CAMEL_OBJECT (folder->parent_store));
camel_object_unref (CAMEL_OBJECT (folder));
}