[evolution-data-server] Remove unused camel_session_get_main_context().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove unused camel_session_get_main_context().
- Date: Sat, 30 Nov 2013 13:17:24 +0000 (UTC)
commit e1bd7b01469949462c4de534f55296ec4ae84942
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Nov 30 08:17:42 2013 -0500
Remove unused camel_session_get_main_context().
camel/camel-session.c | 21 ---------------------
camel/camel-session.h | 4 ----
docs/reference/camel/camel-sections.txt | 2 --
3 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/camel/camel-session.c b/camel/camel-session.c
index 02619fd..b0f18d5 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -875,27 +875,6 @@ camel_session_init (CamelSession *session)
}
/**
- * camel_session_get_main_context:
- * @session: a #CamelSession
- *
- * Returns the #GMainContext on which event sources for @session are to
- * be attached.
- *
- * Returns: a #GMainContext
- *
- * Since: 3.6
- *
- * Deprecated: 3.8: Use camel_session_ref_main_context() instead.
- **/
-GMainContext *
-camel_session_get_main_context (CamelSession *session)
-{
- g_return_val_if_fail (CAMEL_IS_SESSION (session), NULL);
-
- return session->priv->main_context;
-}
-
-/**
* camel_session_ref_main_context:
* @session: a #CamelSession
*
diff --git a/camel/camel-session.h b/camel/camel-session.h
index c56ef25..c994829 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -273,10 +273,6 @@ gboolean camel_session_forward_to_finish (CamelSession *session,
GAsyncResult *result,
GError **error);
-#ifndef CAMEL_DISABLE_DEPRECATED
-GMainContext * camel_session_get_main_context (CamelSession *session);
-#endif /* CAMEL_DISABLE_DEPRECATED */
-
G_END_DECLS
#endif /* CAMEL_SESSION_H */
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 7fea847..b8fa92b 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1923,8 +1923,6 @@ camel_session_authenticate_finish
camel_session_forward_to_sync
camel_session_forward_to
camel_session_forward_to_finish
-<SUBSECTION Deprecated>
-camel_session_get_main_context
<SUBSECTION Standard>
CAMEL_SESSION
CAMEL_IS_SESSION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]