aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-06 15:03:07 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-06 15:03:07 +0800
commit68ef0da647171dc544ef4e16859a9519529863c6 (patch)
treeb0b80429278e5218b9a740d87a4e9212d020f687 /libempathy/empathy-utils.c
parent7936496e842742b7e5f1444e3ffdc0ab89e09f50 (diff)
downloadgsoc2013-empathy-68ef0da647171dc544ef4e16859a9519529863c6.tar.gz
gsoc2013-empathy-68ef0da647171dc544ef4e16859a9519529863c6.tar.zst
gsoc2013-empathy-68ef0da647171dc544ef4e16859a9519529863c6.zip
empathy_contact_dup_from_folks_individual: add a debug msg if no contact is found
In most cases that's probably either an Empathy or Folks issue, so it's good to have some info to help debugging.
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r--libempathy/empathy-utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index ec41f9b38..929779a78 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -725,6 +725,12 @@ empathy_contact_dup_from_folks_individual (FolksIndividual *individual)
}
g_clear_object (&iter);
+ if (contact == NULL)
+ {
+ DEBUG ("Can't create an EmpathyContact for Individual %s",
+ folks_individual_get_id (individual))
+ }
+
return contact;
}