aboutsummaryrefslogtreecommitdiffstats
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
parentd1245d7e6b2bde4a5e6f55516dbfedf9b4f6b6e8 (diff)
downloadgsoc2013-evolution-05a0341981506392137e5ed820b80192d274c35d.tar.gz
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
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-ops.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index f511b633ca..06d75e911c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-13 Dan Winship <danw@helixcode.com>
+
+ * mail-ops.c (do_scan_subfolders): Lose a reference to the store
+ on purpose. To be fixed later.
+
2000-08-12 Dan Winship <danw@helixcode.com>
* component-factory.c (create_imap_storage): Take the source as a
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));
}