]> git.0d.be Git - empathy.git/commitdiff
display a debug message if we can't get the TpContact
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 8 Mar 2011 17:18:59 +0000 (18:18 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 8 Mar 2011 17:18:59 +0000 (18:18 +0100)
src/empathy-call-observer.c

index 179ed595a5cf755a376dbd04d065138b0edc42a0..ee8adc40685dc8d22e227ca8be3323bc51cebf91 100644 (file)
@@ -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];