[evolution-data-server] CamelSession: Add a default method for get_socks_proxy().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] CamelSession: Add a default method for get_socks_proxy().
- Date: Sat, 25 Feb 2012 18:01:12 +0000 (UTC)
commit 57c6e4de0c9b47d8d6faa3c50c5edfbc6bc42713
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Feb 25 12:56:29 2012 -0500
CamelSession: Add a default method for get_socks_proxy().
Does nothing but fill the "out" arguments with (NULL, 0).
camel/camel-session.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-session.c b/camel/camel-session.c
index 91c4f51..312af86 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -432,6 +432,16 @@ session_remove_service (CamelSession *session,
camel_session_unlock (session, CAMEL_SESSION_SESSION_LOCK);
}
+static void
+session_get_socks_proxy (CamelSession *session,
+ const gchar *for_host,
+ gchar **host_ret,
+ gint *port_ret)
+{
+ *host_ret = NULL;
+ *port_ret = 0;
+}
+
static gboolean
session_authenticate_sync (CamelSession *session,
CamelService *service,
@@ -615,6 +625,7 @@ camel_session_class_init (CamelSessionClass *class)
class->add_service = session_add_service;
class->remove_service = session_remove_service;
+ class->get_socks_proxy = session_get_socks_proxy;
class->authenticate_sync = session_authenticate_sync;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]