aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-selector-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-contact-selector-dialog.c')
-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);