diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-09-13 23:58:46 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-09-14 00:45:01 +0800 |
commit | 38cf0499b0329c0556cb2adc2460fb234c596a43 (patch) | |
tree | 81363872f887158e5aaf46b9f2adb918996daaf3 /libempathy/empathy-contact.c | |
parent | 6d7f7edd8ee8290d0e07441523d6c9e44ed0a38d (diff) | |
download | gsoc2013-empathy-38cf0499b0329c0556cb2adc2460fb234c596a43.tar gsoc2013-empathy-38cf0499b0329c0556cb2adc2460fb234c596a43.tar.gz gsoc2013-empathy-38cf0499b0329c0556cb2adc2460fb234c596a43.tar.bz2 gsoc2013-empathy-38cf0499b0329c0556cb2adc2460fb234c596a43.tar.lz gsoc2013-empathy-38cf0499b0329c0556cb2adc2460fb234c596a43.tar.xz gsoc2013-empathy-38cf0499b0329c0556cb2adc2460fb234c596a43.tar.zst gsoc2013-empathy-38cf0499b0329c0556cb2adc2460fb234c596a43.zip |
Assert that we get a non-null account passed when creating a contact for a log
Diffstat (limited to 'libempathy/empathy-contact.c')
-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, |