aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-15 17:24:14 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-15 17:24:14 +0800
commit00a119d8f895506897c86165c5b7592c3ff4f787 (patch)
tree5cd372659a6fb686527075432bdcd24896d2eaef /libempathy-gtk
parentf75ecac41ace8d80c9253e3f16fc5e068885a1f0 (diff)
downloadgsoc2013-empathy-00a119d8f895506897c86165c5b7592c3ff4f787.tar
gsoc2013-empathy-00a119d8f895506897c86165c5b7592c3ff4f787.tar.gz
gsoc2013-empathy-00a119d8f895506897c86165c5b7592c3ff4f787.tar.bz2
gsoc2013-empathy-00a119d8f895506897c86165c5b7592c3ff4f787.tar.lz
gsoc2013-empathy-00a119d8f895506897c86165c5b7592c3ff4f787.tar.xz
gsoc2013-empathy-00a119d8f895506897c86165c5b7592c3ff4f787.tar.zst
gsoc2013-empathy-00a119d8f895506897c86165c5b7592c3ff4f787.zip
contact_selector_dialog_account_changed_cb: cope with tp_account_get_connection being NULL
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-selector-dialog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-selector-dialog.c b/libempathy-gtk/empathy-contact-selector-dialog.c
index 3428b0513..056890b26 100644
--- a/libempathy-gtk/empathy-contact-selector-dialog.c
+++ b/libempathy-gtk/empathy-contact-selector-dialog.c
@@ -110,6 +110,9 @@ contact_selector_dialog_account_changed_cb (GtkWidget *widget,
EmpathyTpContactList *contact_list;
connection = tp_account_get_connection (priv->filter_account);
+ if (connection == NULL)
+ return;
+
contact_list = empathy_contact_manager_get_list (
priv->contact_manager, connection);