diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-09-13 16:58:46 +0100 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-09-13 17:45:01 +0100 |
commit | 38cf0499b0329c0556cb2adc2460fb234c596a43 (patch) | |
tree | 81363872f887158e5aaf46b9f2adb918996daaf3 /libempathy | |
parent | 6d7f7edd8ee8290d0e07441523d6c9e44ed0a38d (diff) |
Assert that we get a non-null account passed when creating a contact for a log
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-contact.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 44d9dbeed..aaa35d9e9 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -415,6 +415,7 @@ empathy_contact_new_for_log (EmpathyAccount *account, gboolean is_user) { g_return_val_if_fail (id != NULL, NULL); + g_assert (account != NULL); return g_object_new (EMPATHY_TYPE_CONTACT, "account", account, |