diff options
-rw-r--r-- | libempathy/empathy-contact.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 8f74119d6..1e4aca651 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -760,6 +760,8 @@ contact_ready_notify_cb (EmpathyContact *contact, EmpathyContactPriv *priv = GET_PRIV (contact); if ((priv->ready & data->ready) == data->ready) { + empathy_debug (DEBUG_DOMAIN, "contact %s (%d) ready %d!", + priv->id, priv->handle, priv->ready); g_main_loop_quit (data->loop); } } @@ -779,6 +781,9 @@ empathy_contact_run_until_ready (EmpathyContact *contact, return; } + empathy_debug (DEBUG_DOMAIN, "Run until ready=%d for contact %s (%d)", + ready, priv->id, priv->handle); + data.loop = g_main_loop_new (NULL, FALSE); signal_id = g_signal_connect (contact, "notify::ready", |