diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 6 |
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)); } |