telepathy-mission-control: McdDispatchOperation: remove untrue comment

Simon McVittie smcv at kemper.freedesktop.org
Tue Jul 31 03:41:20 PDT 2012


Module: telepathy-mission-control
Branch: master
Commit: 95eabd3a26fac84405bd79f1dc109f50ed0fba06
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=95eabd3a26fac84405bd79f1dc109f50ed0fba06

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Tue May 15 17:12:37 2012 -0400

McdDispatchOperation: remove untrue comment

I dimly remember that _mcd_dispatch_operation_new once had
(transfer container) or possibly even (transfer full) semantics for the
list of channels, but I also dimly remember removing it. The
implementation certainly has (transfer none) semantics, and its one
caller behaves as such too.

https://bugs.freedesktop.org/show_bug.cgi?id=52305

---

 src/mcd-dispatch-operation.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index 6a4a287..f8d9ddd 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -1432,8 +1432,7 @@ _mcd_dispatch_operation_init (McdDispatchOperation *operation)
  * @channels: a #GList of #McdChannel elements to dispatch.
  * @possible_handlers: the bus names of possible handlers for these channels.
  *
- * Creates a #McdDispatchOperation. The #GList @channels will be no longer
- * valid after this function has been called.
+ * Creates a #McdDispatchOperation.
  */
 McdDispatchOperation *
 _mcd_dispatch_operation_new (McdClientRegistry *client_registry,



More information about the telepathy-commits mailing list