]> git.0d.be Git - empathy.git/commitdiff
contact_selector_dialog_account_changed_cb: cope with tp_account_get_connection being...
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 15 Mar 2010 09:24:14 +0000 (10:24 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 15 Mar 2010 09:24:14 +0000 (10:24 +0100)
libempathy-gtk/empathy-contact-selector-dialog.c

index 3428b05132f93fa502bc742c11e3390dd090a5cf..056890b26be003f9bcb29a9f20e28ea28dd7ce1a 100644 (file)
@@ -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);