aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-09-21 06:59:11 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-21 06:59:11 +0800
commit586f083c3ab79ada76433afbe8529050f2cd5e31 (patch)
tree68dd993b932f67783ded7d00bd3e998ab5804dd2 /mail/component-factory.c
parenta6aba35df1c77772c1417354a68a310f90944ced (diff)
downloadgsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.tar
gsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.tar.gz
gsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.tar.bz2
gsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.tar.lz
gsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.tar.xz
gsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.tar.zst
gsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.zip
Lock around hashtable/list manipulation. Also dont try scan vfolder_hash
2001-09-20 <NotZed@Ximian.com> * mail-vfolder.c (vfolder_register_source): Lock around hashtable/list manipulation. Also dont try scan vfolder_hash if it hasn't been setup yet. (source_finalise): Lock around list access. (rule_changed): Lock around hash access. (context_rule_added): Lock around hash access. (context_rule_removed): " (rule_changed): Lock around list access. * mail-local.c (storage_listener_startup): Fix for api change. (local_storage_new_folder_cb): Dont skip over leading / in path. (local_storage_removed_folder_cb): ditto. * mail-folder-cache.c (create_folders): No longer pass prefix between recursive calls - we have the path in the folderinfo. (setup_folder): No longer take path arg, we get it from folderinfo. (mail_note_folder): No longer take path arg, we use folder->full_name to key the folder table. (mail_note_store): Consolidate note_store interface, pass storage or corba_storage to it. (mail_note_local_store): Removed. * mail-ops.c (add_unmatched_info): Scan for unmatched name and re-title. svn path=/trunk/; revision=13023
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 6965b004e6..8d656185e3 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -157,7 +157,7 @@ create_view (EvolutionShellComponent *shell_component,
}
if (!gtk_object_get_data (GTK_OBJECT (storage), "connected"))
- mail_note_store (CAMEL_STORE (store));
+ mail_note_store(CAMEL_STORE(store), storage, CORBA_OBJECT_NIL);
camel_object_unref (CAMEL_OBJECT (store));
control = create_noselect_control ();
@@ -991,7 +991,7 @@ add_storage (const char *name, const char *uri, CamelService *store,
switch (res) {
case EVOLUTION_STORAGE_OK:
mail_hash_storage (store, storage);
- mail_note_store((CamelStore *)store);
+ mail_note_store((CamelStore *)store, storage, CORBA_OBJECT_NIL);
/* falllll */
case EVOLUTION_STORAGE_ERROR_ALREADYREGISTERED:
case EVOLUTION_STORAGE_ERROR_EXISTS: