aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index e5e359e219..7c3db7b418 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1819,15 +1819,12 @@ create_folders (EvolutionStorage *storage, const char *prefix, CamelFolderInfo *
}
void
-folder_created (CamelStore *store, CamelFolderInfo *fi)
+folder_created (CamelStore *store, const char *prefix, CamelFolderInfo *fi)
{
EvolutionStorage *storage;
if ((storage = mail_lookup_storage (store))) {
- if (fi)
- /* FIXME: this won't work. (the "prefix" is wrong) */
- create_folders (storage, "", fi);
-
+ create_folders (storage, prefix, fi);
gtk_object_unref (GTK_OBJECT (storage));
}
}