aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-30 02:38:13 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-30 02:38:13 +0800
commit97d122d36a2e387ccdba9689052b0397bbe42a76 (patch)
tree11c26f3a385a00220ae289ab8d47b2ca7d5dd513 /src
parenta5a46b1dc612eb29b86f4bdfa3b3d80cb35f8893 (diff)
downloadgsoc2013-empathy-97d122d36a2e387ccdba9689052b0397bbe42a76.tar
gsoc2013-empathy-97d122d36a2e387ccdba9689052b0397bbe42a76.tar.gz
gsoc2013-empathy-97d122d36a2e387ccdba9689052b0397bbe42a76.tar.bz2
gsoc2013-empathy-97d122d36a2e387ccdba9689052b0397bbe42a76.tar.lz
gsoc2013-empathy-97d122d36a2e387ccdba9689052b0397bbe42a76.tar.xz
gsoc2013-empathy-97d122d36a2e387ccdba9689052b0397bbe42a76.tar.zst
gsoc2013-empathy-97d122d36a2e387ccdba9689052b0397bbe42a76.zip
remove usage of empathy_account_equal
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c2
-rw-r--r--src/empathy-chatrooms-window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 03644026b..9694a653c 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1778,7 +1778,7 @@ empathy_chat_window_find_chat (EmpathyAccount *account,
chat = ll->data;
- if (empathy_account_equal (account, empathy_chat_get_account (chat)) &&
+ if (account == empathy_chat_get_account (chat) &&
!tp_strdiff (id, empathy_chat_get_id (chat))) {
return chat;
}
diff --git a/src/empathy-chatrooms-window.c b/src/empathy-chatrooms-window.c
index 3b5dd1f77..4ec71ec49 100644
--- a/src/empathy-chatrooms-window.c
+++ b/src/empathy-chatrooms-window.c
@@ -514,7 +514,7 @@ chatrooms_window_chatroom_added_cb (EmpathyChatroomManager *manager,
if (!account) {
chatrooms_window_model_add (window, chatroom, FALSE);
} else {
- if (empathy_account_equal (account, empathy_chatroom_get_account (chatroom))) {
+ if (account == empathy_chatroom_get_account (chatroom)) {
chatrooms_window_model_add (window, chatroom, FALSE);
}