aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-linker.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-individual-linker.c')
-rw-r--r--libempathy-gtk/empathy-individual-linker.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-linker.c b/libempathy-gtk/empathy-individual-linker.c
index 0fc67c00c..94c95cbdc 100644
--- a/libempathy-gtk/empathy-individual-linker.c
+++ b/libempathy-gtk/empathy-individual-linker.c
@@ -185,6 +185,9 @@ toggle_individual_row (EmpathyIndividualLinker *self,
EMPATHY_INDIVIDUAL_STORE_COL_INDIVIDUAL, &individual,
-1);
+ if (individual == NULL)
+ return;
+
individual_added = GPOINTER_TO_UINT (g_hash_table_lookup (
priv->changed_individuals, individual));