[empathy] Only act when the account got a connection
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Only act when the account got a connection
- Date: Sat, 13 Feb 2010 17:13:47 +0000 (UTC)
commit 0306a490cce67d9df54255cd8c7d1efea4c7377f
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sat Feb 13 16:43:35 2010 +0000
Only act when the account got a connection
src/empathy.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index 6ae5522..be95d6d 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -504,6 +504,8 @@ account_status_changed_cb (TpAccount *account,
TpConnection *conn;
conn = tp_account_get_connection (account);
+ if (conn == NULL)
+ return;
empathy_dispatcher_join_muc (conn,
empathy_chatroom_get_room (room), NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]