[evolution-kolab/ek-wip-porting] CamelKolabIMAPXServer: fixed wrong type cast in new() function
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab/ek-wip-porting] CamelKolabIMAPXServer: fixed wrong type cast in new() function
- Date: Thu, 8 Mar 2012 18:35:56 +0000 (UTC)
commit 15a8a01f6579608d0abc813d2a10f6534aef088e
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Thu Mar 8 17:38:46 2012 +0100
CamelKolabIMAPXServer: fixed wrong type cast in new() function
* in camel_kolab_imapx_server_new(), we need to bind
the CamelKolabIMAPXStore we get as a parameter, cast
to type CamelStore (not CamelIMAPXStore)
src/camel/camel-kolab-imapx-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-kolab-imapx-server.c b/src/camel/camel-kolab-imapx-server.c
index 027c149..962b6ff 100644
--- a/src/camel/camel-kolab-imapx-server.c
+++ b/src/camel/camel-kolab-imapx-server.c
@@ -367,7 +367,7 @@ camel_kolab_imapx_server_new (CamelKolabIMAPXStore *store)
is = CAMEL_IMAPX_SERVER (self);
is->session = g_object_ref (session);
- is->store = CAMEL_IMAPX_STORE (store);
+ is->store = CAMEL_STORE (store);
return self;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]