diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-12 19:00:04 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-12 19:00:04 +0800 |
commit | 96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c (patch) | |
tree | 20e4a4a6b78817c41fef8e005511af4a74e4baae /camel/camel-store.c | |
parent | f888058fc6e6db2309336426662023502a461d5a (diff) | |
download | gsoc2013-evolution-96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c.tar.gz gsoc2013-evolution-96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c.tar.zst gsoc2013-evolution-96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c.zip |
compilation and runtime fixes.
1999-08-12 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/camel-session.c (camel_session_get_store_for_protocol):
compilation and runtime fixes.
* camel/providers/MH/camel-mh-store.c (_init):
synced with CamelStore.
* camel/camel-store.c (_init):
in CamelStore::init, url_name is now const.
disabled url_name copy.
Last check in did not even compile...
svn path=/trunk/; revision=1107
Diffstat (limited to 'camel/camel-store.c')
-rw-r--r-- | camel/camel-store.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c index 2168b3732c..209a03d101 100644 --- a/camel/camel-store.c +++ b/camel/camel-store.c @@ -32,7 +32,7 @@ static CamelServiceClass *parent_class = NULL; static void _set_separator(CamelStore *store, gchar sep); static CamelFolder *_get_root_folder(CamelStore *store); static CamelFolder *_get_default_folder(CamelStore *store); -static void _init(CamelStore *store, CamelSession *session, gchar *url_name); +static void _init(CamelStore *store, CamelSession *session, const gchar *url_name); static CamelFolder *_get_folder (CamelStore *store, const gchar *folder_name); static gchar _get_separator (CamelStore *store); @@ -102,7 +102,7 @@ camel_store_get_type (void) * **/ void -camel_store_init (CamelStore *store, CamelSession *session, gchar *url_name) +camel_store_init (CamelStore *store, CamelSession *session, const gchar *url_name) { g_assert(store); CS_CLASS(store)->init (store, session, url_name); @@ -121,7 +121,7 @@ camel_store_init (CamelStore *store, CamelSession *session, gchar *url_name) * **/ static void -_init (CamelStore *store, CamelSession *session, gchar *url_name) +_init (CamelStore *store, CamelSession *session, const gchar *url_name) { #warning re-enable assertion here. @@ -131,7 +131,7 @@ _init (CamelStore *store, CamelSession *session, gchar *url_name) if (store->session) gtk_object_unref (GTK_OBJECT (store->session)); store->session = session; gtk_object_ref (GTK_OBJECT (session)); - store->url_name = url_name; + /*store->url_name = url_name;*/ } |