From b27e3726d374beca4ba3aaf384d22c488edc3590 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 8 Mar 2011 18:18:59 +0100 Subject: display a debug message if we can't get the TpContact --- src/empathy-call-observer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/empathy-call-observer.c b/src/empathy-call-observer.c index 179ed595a..ee8adc406 100644 --- a/src/empathy-call-observer.c +++ b/src/empathy-call-observer.c @@ -120,7 +120,10 @@ get_contact_cb (TpConnection *connection, GdkPixbuf *pixbuf; if (n_contacts != 1) - return; + { + DEBUG ("Failed to get TpContact; ignoring notification bubble"); + return; + } contact = contacts[0]; -- cgit v1.2.3