diff options
Diffstat (limited to 'camel/camel-session.c')
-rw-r--r-- | camel/camel-session.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/camel-session.c b/camel/camel-session.c index 6acde38d79..a5d48a69ab 100644 --- a/camel/camel-session.c +++ b/camel/camel-session.c @@ -46,8 +46,8 @@ camel_session_class_init (CamelSessionClass *camel_session_class) static void camel_session_init (CamelSession *session) { - store_provider_list = g_hash_table_new (g_str_hash, g_str_equal); - transport_provider_list = g_hash_table_new (g_str_hash, g_str_equal); + session->store_provider_list = g_hash_table_new (g_str_hash, g_str_equal); + session->transport_provider_list = g_hash_table_new (g_str_hash, g_str_equal); } @@ -126,6 +126,7 @@ camel_session_get_store_from_provider (CamelSession *session, CamelProvider *pro g_assert(provider); store = gtk_object_new (provider->object_type, NULL); -#warning add session initialisation on object +#warning set the url to a useful value. + camel_store_init(store, session, NULL); return store; } |