aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-session.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-12 19:00:04 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-12 19:00:04 +0800
commit96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c (patch)
tree20e4a4a6b78817c41fef8e005511af4a74e4baae /camel/camel-session.c
parentf888058fc6e6db2309336426662023502a461d5a (diff)
downloadgsoc2013-evolution-96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c.tar
gsoc2013-evolution-96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c.tar.gz
gsoc2013-evolution-96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c.tar.bz2
gsoc2013-evolution-96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c.tar.lz
gsoc2013-evolution-96b7f9a5fd8eaafc7b79ef8761a5b2ff15850b4c.tar.xz
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-session.c')
-rw-r--r--camel/camel-session.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/camel-session.c b/camel/camel-session.c
index 2c2d64ade6..a32ff510a4 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -23,6 +23,8 @@
#include <config.h>
#include "camel-session.h"
#include "string-utils.h"
+#include "url-util.h"
+#include "camel-provider.h"
static GtkObjectClass *parent_class=NULL;
@@ -154,7 +156,7 @@ camel_session_get_store_from_provider (CamelSession *session, CamelProvider *pro
CamelStore *
camel_session_get_store_for_protocol (CamelSession *session, const gchar *protocol)
{
- CamelProvider *provider = NULL;
+ const CamelProvider *provider = NULL;
CamelStore *new_store;
/* look if there is a provider assiciated to this