[evolution-ews] Add e_ews_connection_ref_soup_session().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Add e_ews_connection_ref_soup_session().
- Date: Fri, 13 Jul 2012 12:34:13 +0000 (UTC)
commit 98d0c290795858786a80335662a523645e5477f9
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jul 12 19:22:23 2012 -0400
Add e_ews_connection_ref_soup_session().
src/server/e-ews-connection.c | 8 ++++++++
src/server/e-ews-connection.h | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index a1e16a3..356ebcf 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -1317,6 +1317,14 @@ e_ews_connection_get_uri (EEwsConnection *cnc)
return cnc->priv->uri;
}
+SoupSession *
+e_ews_connection_ref_soup_session (EEwsConnection *cnc)
+{
+ g_return_val_if_fail (E_IS_EWS_CONNECTION (cnc), NULL);
+
+ return g_object_ref (cnc->priv->soup_session);
+}
+
void
e_ews_connection_forget_password (EEwsConnection *cnc)
{
diff --git a/src/server/e-ews-connection.h b/src/server/e-ews-connection.h
index 5bc2b03..80010d0 100644
--- a/src/server/e-ews-connection.h
+++ b/src/server/e-ews-connection.h
@@ -193,6 +193,8 @@ EEwsConnection *e_ews_connection_new (const gchar *uri,
gpointer authenticate_ctx,
GError **error);
const gchar * e_ews_connection_get_uri (EEwsConnection *cnc);
+SoupSession * e_ews_connection_ref_soup_session
+ (EEwsConnection *cnc);
void e_ews_connection_forget_password
(EEwsConnection *cnc);
void e_ews_connection_set_timeout (EEwsConnection *cnc,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]