summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlli Salli <olli.salli@collabora.co.uk>2007-06-01 10:58:40 +0000
committerOlli Salli <olli.salli@collabora.co.uk>2007-06-01 10:58:40 +0000
commit0c991d694a968685a4a5944fd6f4ef16316e518b (patch)
tree1164c3f859f55d594de049ffdea8e879e022017a
parentc9b853c4e489a57f48c9890b8c6445208d4c4e59 (diff)
Add some more debug to set_status_foreach
-rw-r--r--telepathy-glib/presence-mixin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/telepathy-glib/presence-mixin.c b/telepathy-glib/presence-mixin.c
index f3ff7994a..b56802e35 100644
--- a/telepathy-glib/presence-mixin.c
+++ b/telepathy-glib/presence-mixin.c
@@ -749,6 +749,9 @@ set_status_foreach (gpointer key, gpointer value, gpointer user_data)
{
TpPresenceStatus *status_to_set;
+ DEBUG ("Found status \"%s\", checking if it's available...",
+ (const gchar *) key);
+
if (mixin_cls->status_available
&& !mixin_cls->status_available (data->obj, i))
{
@@ -760,6 +763,8 @@ set_status_foreach (gpointer key, gpointer value, gpointer user_data)
return;
}
+ DEBUG ("The status is available.");
+
GHashTable *optional_arguments = NULL;
if (value)