aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-chooser.c
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 /libempathy-gtk/empathy-account-chooser.c
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 'libempathy-gtk/empathy-account-chooser.c')
-rw-r--r--libempathy-gtk/empathy-account-chooser.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c
index 7c6f52fa5..a91b0eb29 100644
--- a/libempathy-gtk/empathy-account-chooser.c
+++ b/libempathy-gtk/empathy-account-chooser.c
@@ -545,7 +545,7 @@ account_chooser_find_account_foreach (GtkTreeModel *model,
gtk_tree_model_get (model, iter, COL_ACCOUNT_POINTER, &account, -1);
- if (empathy_account_equal (account, data->account)) {
+ if (account == data->account) {
data->found = TRUE;
*(data->iter) = *iter;
g_object_unref (account);
@@ -688,10 +688,8 @@ account_chooser_set_account_foreach (GtkTreeModel *model,
if ((data->account == NULL) != (account == NULL)) {
equal = FALSE;
}
- else if (data->account == account) {
- equal = TRUE;
- } else {
- equal = empathy_account_equal (data->account, account);
+ else {
+ equal = (data->account == account);
}
if (account) {