[telepathy-mission-control/master] McdConnection: remove redundant variables and debug-log the output of ListChannels
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue May 19 04:42:45 PDT 2009
---
src/mcd-connection.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index 629ab54..7fa21f0 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -1357,15 +1357,15 @@ list_channels_cb (TpConnection *connection,
{
GValueArray *va = g_ptr_array_index (structs, i);
const gchar *object_path;
- const gchar *channel_type;
- TpHandleType handle_type;
- TpHandle handle;
GHashTable *channel_props;
object_path = g_value_get_boxed (va->values + 0);
- channel_type = g_value_get_string (va->values + 1);
- handle_type = g_value_get_uint (va->values + 2);
- handle = g_value_get_uint (va->values + 3);
+
+ DEBUG ("%s (t=%s, ht=%u, h=%u)",
+ object_path,
+ g_value_get_string (va->values + 1),
+ g_value_get_uint (va->values + 2),
+ g_value_get_uint (va->values + 3));
/* this is not the most efficient thing we could possibly do, but
* we're on a fallback path so it's OK to be a bit slow */
--
1.5.6.5
More information about the telepathy-commits
mailing list