[empathy/gnome-2-34] Compare two different acocunts, not the same account to itself
- From: Sjoerd Simons <sjoerds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-34] Compare two different acocunts, not the same account to itself
- Date: Sun, 31 Jul 2011 09:41:19 +0000 (UTC)
commit 3f44f3a0da5b300c3e655d5d3669cfd620d91786
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sun Jul 31 10:40:05 2011 +0100
Compare two different acocunts, not the same account to itself
libempathy-gtk/empathy-contact-list-store.c | 2 +-
libempathy-gtk/empathy-persona-store.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-list-store.c b/libempathy-gtk/empathy-contact-list-store.c
index 07e3f19..99c959c 100644
--- a/libempathy-gtk/empathy-contact-list-store.c
+++ b/libempathy-gtk/empathy-contact-list-store.c
@@ -1571,7 +1571,7 @@ contact_list_store_contact_sort (EmpathyContact *contact_a,
/* protocol */
ret_val = strcmp (tp_account_get_protocol (account_a),
- tp_account_get_protocol (account_a));
+ tp_account_get_protocol (account_b));
if (ret_val != 0)
goto out;
diff --git a/libempathy-gtk/empathy-persona-store.c b/libempathy-gtk/empathy-persona-store.c
index 3b955bd..f05b15e 100644
--- a/libempathy-gtk/empathy-persona-store.c
+++ b/libempathy-gtk/empathy-persona-store.c
@@ -578,7 +578,7 @@ sort_personas (FolksPersona *persona_a,
/* protocol */
ret_val = strcmp (tp_account_get_protocol (account_a),
- tp_account_get_protocol (account_a));
+ tp_account_get_protocol (account_b));
if (ret_val != 0)
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]