aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap4/camel-imap4-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/imap4/camel-imap4-store.c')
-rw-r--r--camel/providers/imap4/camel-imap4-store.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/camel/providers/imap4/camel-imap4-store.c b/camel/providers/imap4/camel-imap4-store.c
index 3dd1120f5d..832613bb10 100644
--- a/camel/providers/imap4/camel-imap4-store.c
+++ b/camel/providers/imap4/camel-imap4-store.c
@@ -75,7 +75,7 @@ camel_imap4_store_get_type (void)
static CamelType type = 0;
if (!type) {
- type = camel_type_register (CAMEL_TYPE_IMAP4_STORE,
+ type = camel_type_register (CAMEL_STORE_TYPE,
"CamelIMAP4Store",
sizeof (CamelIMAP4Store),
sizeof (CamelIMAP4StoreClass),
@@ -958,8 +958,7 @@ imap4_build_folder_info (CamelIMAP4Engine *engine, guint32 flags, GPtrArray *arr
array->pdata[i] = fi;
}
- /* FIXME: build the fi tree */
- fi = array->pdata[0];
+ fi = camel_folder_info_build (array, top, '/', TRUE);
camel_url_free (url);