aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-15 18:38:43 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-15 18:38:43 +0800
commit1332eb95a91fb7e4f001757f702e79002ad3aebc (patch)
tree8972f00534ca11c1b778b9ca4887cd14318da5fe /libempathy-gtk
parentc607201736ed8dd846454bc0ad397865f01ad805 (diff)
downloadgsoc2013-empathy-1332eb95a91fb7e4f001757f702e79002ad3aebc.tar
gsoc2013-empathy-1332eb95a91fb7e4f001757f702e79002ad3aebc.tar.gz
gsoc2013-empathy-1332eb95a91fb7e4f001757f702e79002ad3aebc.tar.bz2
gsoc2013-empathy-1332eb95a91fb7e4f001757f702e79002ad3aebc.tar.lz
gsoc2013-empathy-1332eb95a91fb7e4f001757f702e79002ad3aebc.tar.xz
gsoc2013-empathy-1332eb95a91fb7e4f001757f702e79002ad3aebc.tar.zst
gsoc2013-empathy-1332eb95a91fb7e4f001757f702e79002ad3aebc.zip
individual_store_contact_sort: account is not supposed to be NULL
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-individual-store.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c
index 96bea8042..807afb2a2 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));