aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:48:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:48:58 +0800
commit9cd97524aad5e22138407fa59ab4be651fe6468d (patch)
tree83abf8b6ed81b3e164d59d2c84953ed09c8fee71
parentff68f9120ec085ca97160b8919cfa4d0d3ce8371 (diff)
downloadgsoc2013-empathy-9cd97524aad5e22138407fa59ab4be651fe6468d.tar
gsoc2013-empathy-9cd97524aad5e22138407fa59ab4be651fe6468d.tar.gz
gsoc2013-empathy-9cd97524aad5e22138407fa59ab4be651fe6468d.tar.bz2
gsoc2013-empathy-9cd97524aad5e22138407fa59ab4be651fe6468d.tar.lz
gsoc2013-empathy-9cd97524aad5e22138407fa59ab4be651fe6468d.tar.xz
gsoc2013-empathy-9cd97524aad5e22138407fa59ab4be651fe6468d.tar.zst
gsoc2013-empathy-9cd97524aad5e22138407fa59ab4be651fe6468d.zip
Add debug messages.
svn path=/trunk/; revision=2081
-rw-r--r--libempathy/empathy-idle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c
index d9c8178e8..66434a81e 100644
--- a/libempathy/empathy-idle.c
+++ b/libempathy/empathy-idle.c
@@ -404,11 +404,15 @@ empathy_idle_init (EmpathyIdle *idle)
priv->mc = empathy_mission_control_new ();
priv->state = mission_control_get_presence_actual (priv->mc, &error);
if (error) {
+ DEBUG ("Error getting actual presence: %s", error->message);
+
priv->state = MC_PRESENCE_UNSET;
g_clear_error (&error);
}
priv->status = mission_control_get_presence_message_actual (priv->mc, &error);
if (error) {
+ DEBUG ("Error getting actual presence message: %s", error->message);
+
g_free (priv->status);
priv->status = NULL;
g_clear_error (&error);