diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 21:18:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 21:18:54 +0800 |
commit | f8730610042229f275a5a294df4c2eb5f225118e (patch) | |
tree | ef36b4df5144619db1c4f0f3d207af7645f77bc4 /addressbook/conduit | |
parent | e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (diff) | |
download | gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.gz gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.zst gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.zip |
Fix compiler warnings in addressbook.
Diffstat (limited to 'addressbook/conduit')
-rw-r--r-- | addressbook/conduit/address-conduit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c index c939b9cd27..ec89c9a34f 100644 --- a/addressbook/conduit/address-conduit.c +++ b/addressbook/conduit/address-conduit.c @@ -718,7 +718,7 @@ e_addr_context_destroy (EAddrConduitContext *ctxt) } /* Debug routines */ -static char * +static const gchar * print_local (EAddrLocalRecord *local) { static char buff[ 4096 ]; @@ -1532,12 +1532,12 @@ addressbook_authenticate (EBook *book, gpointer data) { gchar *auth; - gchar *user; + const gchar *user; gchar *passwd; gchar *str_uri; gchar *pass_key; gchar *auth_domain; - gchar *component_name; + const gchar *component_name; EUri *e_uri; ESource *source = (ESource *)data; @@ -1547,9 +1547,9 @@ addressbook_authenticate (EBook *book, component_name = auth_domain ? auth_domain : "Addressbook"; if (auth && !strcmp ("plain/password", auth)) - user = (gchar *)e_source_get_property (source, "user"); + user = e_source_get_property (source, "user"); else - user = (gchar *)e_source_get_property (source, "email_addr"); + user = e_source_get_property (source, "email_addr"); if (!user) user = ""; |