[evolution-data-server/camel-socks-proxy] Don't return a const char *



commit 721656d96369c007e76939fda1352ca9c385fe95
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 93f5b49..d83445f 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -172,7 +172,7 @@ camel_session_set_socks_proxy (CamelSession *session, const gchar *socks_host, i
 }
 
 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 f063c42..543aac1 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -136,8 +136,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]