[empathy] display a debug message if we can't get the TpContact
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] display a debug message if we can't get the TpContact
- Date: Tue, 8 Mar 2011 17:26:05 +0000 (UTC)
commit b27e3726d374beca4ba3aaf384d22c488edc3590
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Mar 8 18:18:59 2011 +0100
display a debug message if we can't get the TpContact
src/empathy-call-observer.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-call-observer.c b/src/empathy-call-observer.c
index 179ed59..ee8adc4 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];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]