aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-session.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-04-26 05:58:27 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-04-26 05:58:27 +0800
commitd224d1aaad9aca13a716278df6f81b96e9d58aea (patch)
treeec269e529e97d904e3bae5487c7a1d702f2b2cd2 /camel/camel-session.c
parentf9595bb213b103bf071e97ea2f93886767aa7f64 (diff)
downloadgsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.tar.gz
gsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.tar.zst
gsoc2013-evolution-d224d1aaad9aca13a716278df6f81b96e9d58aea.zip
initialize folder object.
1999-04-25 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-session.c (camel_session_get_store_from_provider): initialize folder object. * camel/camel-store.c (init): new method. called by session object at instantiation time. * camel/camel-store.h (struct _CamelStore): new fields : session and url_name svn path=/trunk/; revision=879
Diffstat (limited to 'camel/camel-session.c')
-rw-r--r--camel/camel-session.c7
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;
}