[next] telepathy-mission-control: MCDO: channel_details is no longer used

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Wed Jan 29 08:12:40 PST 2014


Module: telepathy-mission-control
Branch: next
Commit: 373e39652247a4da3331ac3d28a41976215cdd8c
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=373e39652247a4da3331ac3d28a41976215cdd8c

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Fri Jan 24 10:59:26 2014 +0100

MCDO: channel_details is no longer used

---

 src/mcd-dispatch-operation.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index f6a8a13..4e5664b 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -2102,7 +2102,6 @@ _mcd_dispatch_operation_run_approvers (McdDispatchOperation *self)
     while (g_hash_table_iter_next (&iter, NULL, &client_p))
     {
         McdClientProxy *client = MCD_CLIENT_PROXY (client_p);
-        GPtrArray *channel_details;
         const gchar *dispatch_operation;
         GHashTable *properties;
         gboolean matched = FALSE;
@@ -2135,8 +2134,6 @@ _mcd_dispatch_operation_run_approvers (McdDispatchOperation *self)
 
         dispatch_operation = _mcd_dispatch_operation_get_path (self);
         properties = _mcd_dispatch_operation_get_properties (self);
-        channel_details = _mcd_tp_channel_details_build_from_tp_chan (
-            mcd_channel_get_tp_channel (self->priv->channel));
 
         DEBUG ("Calling AddDispatchOperation on approver %s for CDO %s @ %p",
                tp_proxy_get_bus_name (client), dispatch_operation, self);
@@ -2148,8 +2145,6 @@ _mcd_dispatch_operation_run_approvers (McdDispatchOperation *self)
             dispatch_operation, properties,
             add_dispatch_operation_cb,
             g_object_ref (self), g_object_unref, NULL);
-
-        g_boxed_free (TP_ARRAY_TYPE_CHANNEL_DETAILS_LIST, channel_details);
     }
 
     /* This matches the approvers count set to 1 at the beginning of the



More information about the telepathy-commits mailing list