From 38cf0499b0329c0556cb2adc2460fb234c596a43 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sun, 13 Sep 2009 16:58:46 +0100 Subject: Assert that we get a non-null account passed when creating a contact for a log --- libempathy/empathy-contact.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy') 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, -- cgit v1.2.3