[empathy] contact_selector_dialog_account_changed_cb: cope with tp_account_get_connection being NULL
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] contact_selector_dialog_account_changed_cb: cope with tp_account_get_connection being NULL
- Date: Mon, 15 Mar 2010 09:52:32 +0000 (UTC)
commit 00a119d8f895506897c86165c5b7592c3ff4f787
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 15 10:24:14 2010 +0100
contact_selector_dialog_account_changed_cb: cope with tp_account_get_connection being NULL
libempathy-gtk/empathy-contact-selector-dialog.c | 3 +++
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 3428b05..056890b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]