aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-24 19:01:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-01-24 20:24:59 +0800
commitae60dd208860c732141e5e5ccb89c7aba18ae28c (patch)
treef0458f1194da9dc838cc1b50e4d4ca5140b56045 /src
parenta58af6c844170f7451307f07a43e3416f5694ddf (diff)
downloadgsoc2013-empathy-ae60dd208860c732141e5e5ccb89c7aba18ae28c.tar
gsoc2013-empathy-ae60dd208860c732141e5e5ccb89c7aba18ae28c.tar.gz
gsoc2013-empathy-ae60dd208860c732141e5e5ccb89c7aba18ae28c.tar.bz2
gsoc2013-empathy-ae60dd208860c732141e5e5ccb89c7aba18ae28c.tar.lz
gsoc2013-empathy-ae60dd208860c732141e5e5ccb89c7aba18ae28c.tar.xz
gsoc2013-empathy-ae60dd208860c732141e5e5ccb89c7aba18ae28c.tar.zst
gsoc2013-empathy-ae60dd208860c732141e5e5ccb89c7aba18ae28c.zip
accounts_dialog_get_account_iter: use the COL_ACCOUNT directly
There is no point using the EmpathyAccountSettings. https://bugzilla.gnome.org/show_bug.cgi?id=668372
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index c79ac4078..29a61ffdb 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1637,15 +1637,15 @@ accounts_dialog_get_account_iter (EmpathyAccountsDialog *dialog,
ok;
ok = gtk_tree_model_iter_next (model, iter))
{
- EmpathyAccountSettings *settings;
+ TpAccount *this_account;
gboolean equal;
gtk_tree_model_get (model, iter,
- COL_ACCOUNT_SETTINGS, &settings,
+ COL_ACCOUNT, &this_account,
-1);
- equal = empathy_account_settings_has_account (settings, account);
- g_object_unref (settings);
+ equal = (this_account == account);
+ g_object_unref (this_account);
if (equal)
return TRUE;