[telepathy-mission-control/master] McdChannel: proxy_destroyed: make the debug messages clearer and more informative

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Jun 26 09:12:19 PDT 2009


---
 src/mcd-channel.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/mcd-channel.c b/src/mcd-channel.c
index ac38f97..a527498 100644
--- a/src/mcd-channel.c
+++ b/src/mcd-channel.c
@@ -194,14 +194,9 @@ proxy_destroyed (TpProxy *self, guint domain, gint code, gchar *message,
 {
     McdChannel *channel = user_data;
 
-    DEBUG ("Channel proxy destroyed (%s)!", message);
-    /*
-    McdChannelPrivate *priv = channel->priv;
-    g_object_unref (priv->tp_chan);
-    priv->tp_chan = NULL;
-    */
+    DEBUG ("Channel proxy invalidated: %s %d: %s",
+           g_quark_to_string (domain), code, message);
     mcd_mission_abort (MCD_MISSION (channel));
-    DEBUG ("Channel closed");
 }
 
 static inline void
-- 
1.5.6.5




More information about the telepathy-commits mailing list