[empathy: 1/2] individual_store_contact_sort: account is not supposed to be NULL
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 1/2] individual_store_contact_sort: account is not supposed to be NULL
- Date: Mon, 15 Nov 2010 13:44:49 +0000 (UTC)
commit 1332eb95a91fb7e4f001757f702e79002ad3aebc
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Nov 15 11:38:43 2010 +0100
individual_store_contact_sort: account is not supposed to be NULL
libempathy-gtk/empathy-individual-store.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c
index 96bea80..807afb2 100644
--- a/libempathy-gtk/empathy-individual-store.c
+++ b/libempathy-gtk/empathy-individual-store.c
@@ -1350,6 +1350,9 @@ individual_store_contact_sort (FolksIndividual *individual_a,
account_a = empathy_contact_get_account (contact_a);
account_b = empathy_contact_get_account (contact_b);
+ g_assert (account_a != NULL);
+ g_assert (account_b != NULL);
+
/* protocol */
ret_val = g_strcmp0 (tp_account_get_protocol (account_a),
tp_account_get_protocol (account_b));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]