[evolution-data-server] Don't return a const char *



commit 5aaba97f20bb1755eaab83e073ccbd83cd7372c6
Author: Federico Mena Quintero <federico novell com>
Date:   Thu May 13 13:14:52 2010 -0500

    Don't return a const char *
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 camel/camel-session.c |    2 +-
 camel/camel-session.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/camel/camel-session.c b/camel/camel-session.c
index df3e98a..d76ce31 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -1135,7 +1135,7 @@ camel_session_set_socks_proxy (CamelSession *session, const gchar *socks_host, i
  * put #NULL in @hosts_ret if there is no proxy configured.
  */
 void
-camel_session_get_socks_proxy (CamelSession *session, const char **host_ret, int *port_ret)
+camel_session_get_socks_proxy (CamelSession *session, gchar **host_ret, gint *port_ret)
 {
 	g_return_if_fail (CAMEL_IS_SESSION (session));
 	g_return_if_fail (host_ret != NULL);
diff --git a/camel/camel-session.h b/camel/camel-session.h
index 8ad79e8..c31502c 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -160,8 +160,8 @@ void            camel_session_set_socks_proxy   (CamelSession *session,
 						 const gchar *socks_host,
 						 gint socks_port);
 void            camel_session_get_socks_proxy   (CamelSession *session,
-						 const char **host_ret,
-						 int *port_ret);
+						 gchar **host_ret,
+						 gint *port_ret);
 
 CamelService *	camel_session_get_service	(CamelSession *session,
 						 const gchar *url_string,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]