aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-linker.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-27 22:53:03 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-30 17:09:57 +0800
commiteba7c8345b08ab112e0b68445cbec6833fd92516 (patch)
tree453ccfb69402ec076b1198af79fd0902b2b625cb /libempathy-gtk/empathy-individual-linker.c
parent7b68f5928812d926d27bb0a6fa8550629ef23a2c (diff)
downloadgsoc2013-empathy-eba7c8345b08ab112e0b68445cbec6833fd92516.tar
gsoc2013-empathy-eba7c8345b08ab112e0b68445cbec6833fd92516.tar.gz
gsoc2013-empathy-eba7c8345b08ab112e0b68445cbec6833fd92516.tar.bz2
gsoc2013-empathy-eba7c8345b08ab112e0b68445cbec6833fd92516.tar.lz
gsoc2013-empathy-eba7c8345b08ab112e0b68445cbec6833fd92516.tar.xz
gsoc2013-empathy-eba7c8345b08ab112e0b68445cbec6833fd92516.tar.zst
gsoc2013-empathy-eba7c8345b08ab112e0b68445cbec6833fd92516.zip
Bug 628124 — Disallow activating group rows in the linking dialogue
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));