telepathy-mission-control: mcd_dispatcher_context_forget_all and friends: remove, unused
Simon McVittie
smcv at kemper.freedesktop.org
Thu May 10 08:15:17 PDT 2012
Module: telepathy-mission-control
Branch: master
Commit: a9f3580a8738260a2db4ebf7237adb389a5521f7
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=a9f3580a8738260a2db4ebf7237adb389a5521f7
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue May 8 13:54:58 2012 +0100
mcd_dispatcher_context_forget_all and friends: remove, unused
---
src/mcd-dispatcher-context.h | 8 ------
src/mcd-dispatcher.c | 52 ------------------------------------------
2 files changed, 0 insertions(+), 60 deletions(-)
diff --git a/src/mcd-dispatcher-context.h b/src/mcd-dispatcher-context.h
index fa1f0a2..3f1a611 100644
--- a/src/mcd-dispatcher-context.h
+++ b/src/mcd-dispatcher-context.h
@@ -89,14 +89,6 @@ McdChannel *mcd_dispatcher_context_get_channel_by_type
McdConnection *mcd_dispatcher_context_get_connection
(McdDispatcherContext *context);
-void mcd_dispatcher_context_close_all (McdDispatcherContext *context,
- TpChannelGroupChangeReason reason,
- const gchar *message);
-
-void mcd_dispatcher_context_destroy_all (McdDispatcherContext *context);
-
-void mcd_dispatcher_context_forget_all (McdDispatcherContext *context);
-
G_END_DECLS
#endif
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 226b748..f558ae7 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1052,58 +1052,6 @@ no_more: /* either no more filters, or no more channels */
mcd_dispatcher_context_unref (context, "CTXREF01");
}
-/**
- * mcd_dispatcher_context_forget_all:
- * @context: a #McdDispatcherContext
- *
- * Stop processing channels in @context, but do not close them. They will
- * no longer be dispatched, and the ChannelDispatchOperation (if any)
- * will emit ChannelLost.
- */
-void
-mcd_dispatcher_context_forget_all (McdDispatcherContext *context)
-{
- g_return_if_fail (context);
- _mcd_dispatch_operation_forget_channels (context->operation);
-}
-
-/**
- * mcd_dispatcher_context_destroy_all:
- * @context: a #McdDispatcherContext
- *
- * Consider all channels in the #McdDispatcherContext to be undispatchable,
- * and close them destructively. Information loss might result.
- */
-void
-mcd_dispatcher_context_destroy_all (McdDispatcherContext *context)
-{
- g_return_if_fail (context);
- _mcd_dispatch_operation_destroy_channels (context->operation);
-}
-
-/**
- * mcd_dispatcher_context_close_all:
- * @context: a #McdDispatcherContext
- * @reason: a reason code
- * @message: a message to be used if applicable, which should be "" if
- * no message is appropriate
- *
- * Close all channels in the #McdDispatcherContext. If @reason is not
- * %TP_CHANNEL_GROUP_CHANGE_REASON_NONE and/or @message is non-empty,
- * attempt to use the RemoveMembersWithReason D-Bus method to specify
- * a message and reason, falling back to the Close method if that doesn't
- * work.
- */
-void
-mcd_dispatcher_context_close_all (McdDispatcherContext *context,
- TpChannelGroupChangeReason reason,
- const gchar *message)
-{
- g_return_if_fail (context);
- _mcd_dispatch_operation_leave_channels (context->operation, reason,
- message);
-}
-
static void
mcd_dispatcher_context_unref (McdDispatcherContext * context,
const gchar *tag)
More information about the telepathy-commits
mailing list