telepathy-mission-control: mcd_dispatcher_context_process: remove
Simon McVittie
smcv at kemper.freedesktop.org
Thu May 10 08:15:17 PDT 2012
Module: telepathy-mission-control
Branch: master
Commit: 8fbc9bb3fc7f0714342dff2fd637824f88c653ac
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=8fbc9bb3fc7f0714342dff2fd637824f88c653ac
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue May 8 13:52:25 2012 +0100
mcd_dispatcher_context_process: remove
---
src/mcd-dispatcher-context.h | 2 --
src/mcd-dispatcher.c | 27 ---------------------------
2 files changed, 0 insertions(+), 29 deletions(-)
diff --git a/src/mcd-dispatcher-context.h b/src/mcd-dispatcher-context.h
index 4f2f6b3..4957930 100644
--- a/src/mcd-dispatcher-context.h
+++ b/src/mcd-dispatcher-context.h
@@ -106,8 +106,6 @@ void mcd_dispatcher_context_forget_all (McdDispatcherContext *context);
void mcd_dispatcher_context_proceed (McdDispatcherContext *context);
-void mcd_dispatcher_context_process (McdDispatcherContext * ctx, gboolean result);
-
G_END_DECLS
#endif
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 42bad35..da99e5b 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1116,33 +1116,6 @@ mcd_dispatcher_context_close_all (McdDispatcherContext *context,
message);
}
-/**
- * mcd_dispatcher_context_process:
- * @context: a #McdDispatcherContext
- * @result: %FALSE if the channels are to be destroyed
- *
- * Continue to process the @context.
- *
- * mcd_dispatcher_context_process (c, TRUE) is exactly equivalent to
- * mcd_dispatcher_context_proceed (c), which should be used instead in new
- * code.
- *
- * mcd_dispatcher_context_process (c, FALSE) is exactly equivalent to
- * mcd_dispatcher_context_destroy_all (c) followed by
- * mcd_dispatcher_context_proceed (c), which should be used instead in new
- * code.
- */
-void
-mcd_dispatcher_context_process (McdDispatcherContext * context, gboolean result)
-{
- if (!result)
- {
- _mcd_dispatch_operation_destroy_channels (context->operation);
- }
-
- mcd_dispatcher_context_proceed (context);
-}
-
static void
mcd_dispatcher_context_unref (McdDispatcherContext * context,
const gchar *tag)
More information about the telepathy-commits
mailing list