diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-03-11 20:22:31 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-03-11 20:22:31 +0800 |
commit | 6b9313a9535a115ddf9741f8311dfb720b3ad340 (patch) | |
tree | 521324c40b7569c9a39eff2818974b5b9d7c3f99 | |
parent | 134f803785e35fce4ce23f942c3f3bde6d8d59ae (diff) | |
download | gsoc2013-empathy-6b9313a9535a115ddf9741f8311dfb720b3ad340.tar gsoc2013-empathy-6b9313a9535a115ddf9741f8311dfb720b3ad340.tar.gz gsoc2013-empathy-6b9313a9535a115ddf9741f8311dfb720b3ad340.tar.bz2 gsoc2013-empathy-6b9313a9535a115ddf9741f8311dfb720b3ad340.tar.lz gsoc2013-empathy-6b9313a9535a115ddf9741f8311dfb720b3ad340.tar.xz gsoc2013-empathy-6b9313a9535a115ddf9741f8311dfb720b3ad340.tar.zst gsoc2013-empathy-6b9313a9535a115ddf9741f8311dfb720b3ad340.zip |
Add debug messages in _run_until_ready
svn path=/trunk/; revision=753
-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", |