aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-09 01:18:59 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-09 01:27:42 +0800
commitef9b1ef55e7041e7c9514e4d62cc63aba8f01c72 (patch)
treece05f0021b55c9ca1c28610fe1ce7b7598d7dea7
parent3cec53263f6c29d462e300f02d1ef2718be21371 (diff)
downloadgsoc2013-empathy-ef9b1ef55e7041e7c9514e4d62cc63aba8f01c72.tar
gsoc2013-empathy-ef9b1ef55e7041e7c9514e4d62cc63aba8f01c72.tar.gz
gsoc2013-empathy-ef9b1ef55e7041e7c9514e4d62cc63aba8f01c72.tar.bz2
gsoc2013-empathy-ef9b1ef55e7041e7c9514e4d62cc63aba8f01c72.tar.lz
gsoc2013-empathy-ef9b1ef55e7041e7c9514e4d62cc63aba8f01c72.tar.xz
gsoc2013-empathy-ef9b1ef55e7041e7c9514e4d62cc63aba8f01c72.tar.zst
gsoc2013-empathy-ef9b1ef55e7041e7c9514e4d62cc63aba8f01c72.zip
display a debug message if we can't get the TpContact
-rw-r--r--src/empathy-call-observer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-call-observer.c b/src/empathy-call-observer.c
index c8f4f8ed7..a43e7777b 100644
--- a/src/empathy-call-observer.c
+++ b/src/empathy-call-observer.c
@@ -122,7 +122,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];