[evolution-data-server] Remove camel_session_ref_proxy_resolver().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove camel_session_ref_proxy_resolver().
- Date: Fri, 25 Oct 2013 17:27:35 +0000 (UTC)
commit 4bb8247a9288a86ca62210ad2d2b6f24a85e7671
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Oct 10 13:07:25 2013 -0400
Remove camel_session_ref_proxy_resolver().
Short-lived, the function never made it into a release.
Use camel_service_ref_proxy_resolver() instead.
camel/camel-session.c | 44 -------------------------------
camel/camel-session.h | 7 -----
docs/reference/camel/camel-sections.txt | 1 -
3 files changed, 0 insertions(+), 52 deletions(-)
---
diff --git a/camel/camel-session.c b/camel/camel-session.c
index 4f6e4b2..fd29ae0 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -450,20 +450,6 @@ session_remove_service (CamelSession *session,
g_mutex_unlock (&session->priv->services_lock);
}
-static GProxyResolver *
-session_ref_proxy_resolver (CamelSession *session,
- CamelService *service)
-{
- GProxyResolver *proxy_resolver;
-
- proxy_resolver = g_proxy_resolver_get_default ();
-
- if (proxy_resolver != NULL)
- g_object_ref (proxy_resolver);
-
- return proxy_resolver;
-}
-
static gboolean
session_authenticate_sync (CamelSession *session,
CamelService *service,
@@ -736,7 +722,6 @@ camel_session_class_init (CamelSessionClass *class)
class->add_service = session_add_service;
class->remove_service = session_remove_service;
- class->ref_proxy_resolver = session_ref_proxy_resolver;
class->authenticate_sync = session_authenticate_sync;
class->forward_to_sync = session_forward_to_sync;
@@ -1367,35 +1352,6 @@ camel_session_trust_prompt (CamelSession *session,
}
/**
- * camel_session_ref_proxy_resolver:
- * @session: a #CamelSession
- * @service: a #CamelService
- *
- * Returns the #GProxyResolver for @service.
- *
- * The returned #GProxyResolver is referenced for thread-safety and should
- * be unreferenced with g_object_unref() when finished with it.
- *
- * Returns: a #GProxyResolver
- *
- * Since: 3.12
- **/
-GProxyResolver *
-camel_session_ref_proxy_resolver (CamelSession *session,
- CamelService *service)
-{
- CamelSessionClass *class;
-
- g_return_val_if_fail (CAMEL_IS_SESSION (session), NULL);
- g_return_val_if_fail (CAMEL_IS_SERVICE (service), NULL);
-
- class = CAMEL_SESSION_GET_CLASS (session);
- g_return_val_if_fail (class->ref_proxy_resolver != NULL, NULL);
-
- return class->ref_proxy_resolver (session, service);
-}
-
-/**
* camel_session_lookup_addressbook:
*
* Since: 2.22
diff --git a/camel/camel-session.h b/camel/camel-session.h
index 413abb7..e504e6b 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -122,9 +122,6 @@ struct _CamelSessionClass {
CamelService *service,
GTlsCertificate *certificate,
GTlsCertificateFlags errors);
- GProxyResolver *
- (*ref_proxy_resolver) (CamelSession *session,
- CamelService *service);
CamelFilterDriver *
(*get_filter_driver) (CamelSession *session,
const gchar *type,
@@ -215,10 +212,6 @@ CamelCertTrust camel_session_trust_prompt (CamelSession *session,
CamelService *service,
GTlsCertificate *certificate,
GTlsCertificateFlags errors);
-GProxyResolver *
- camel_session_ref_proxy_resolver
- (CamelSession *session,
- CamelService *service);
gboolean camel_session_get_online (CamelSession *session);
void camel_session_set_online (CamelSession *session,
gboolean online);
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 09277f8..27dddef 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -2345,7 +2345,6 @@ camel_session_get_password
camel_session_forget_password
camel_session_alert_user
camel_session_trust_prompt
-camel_session_ref_proxy_resolver
camel_session_get_online
camel_session_set_online
camel_session_get_filter_driver
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]