Commit 9cd97524 authored by Xavier Claessens's avatar Xavier Claessens

Add debug messages.

svn path=/trunk/; revision=2081
parent ff68f912
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment