summaryrefslogtreecommitdiff
path: root/src/empathy-call-observer.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-08 18:18:59 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-08 18:18:59 +0100
commitb27e3726d374beca4ba3aaf384d22c488edc3590 (patch)
tree3e508110ac4dd28938891ee59f1f6618d28cbf02 /src/empathy-call-observer.c
parent26ef41ebb67957d65436624b03af1f9ac18f58e5 (diff)
downloadempathy-b27e3726d374beca4ba3aaf384d22c488edc3590.tar.gz
display a debug message if we can't get the TpContact
Diffstat (limited to 'src/empathy-call-observer.c')
-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 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];