aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-auto-salut-account-helper.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-05 00:31:40 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-05 00:59:46 +0800
commit8c8ad6b6959801d97881dba347ce8827d470c7a2 (patch)
tree9baadbd516de89e6a126482d4104eec1657f204a /src/empathy-auto-salut-account-helper.c
parent6cbff108ac6211bfdc3638f23f3226f6521449fc (diff)
downloadgsoc2013-empathy-8c8ad6b6959801d97881dba347ce8827d470c7a2.tar
gsoc2013-empathy-8c8ad6b6959801d97881dba347ce8827d470c7a2.tar.gz
gsoc2013-empathy-8c8ad6b6959801d97881dba347ce8827d470c7a2.tar.bz2
gsoc2013-empathy-8c8ad6b6959801d97881dba347ce8827d470c7a2.tar.lz
gsoc2013-empathy-8c8ad6b6959801d97881dba347ce8827d470c7a2.tar.xz
gsoc2013-empathy-8c8ad6b6959801d97881dba347ce8827d470c7a2.tar.zst
gsoc2013-empathy-8c8ad6b6959801d97881dba347ce8827d470c7a2.zip
remove the salut_created gconf key (#611817)
Diffstat (limited to 'src/empathy-auto-salut-account-helper.c')
-rw-r--r--src/empathy-auto-salut-account-helper.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/empathy-auto-salut-account-helper.c b/src/empathy-auto-salut-account-helper.c
index ad4d6cbc0..37aedb325 100644
--- a/src/empathy-auto-salut-account-helper.c
+++ b/src/empathy-auto-salut-account-helper.c
@@ -42,17 +42,6 @@ should_create_salut_account (TpAccountManager *manager)
gboolean salut_created = FALSE;
GList *accounts, *l;
- /* Check if we already created a salut account */
- empathy_conf_get_bool (empathy_conf_get (),
- EMPATHY_PREFS_SALUT_ACCOUNT_CREATED,
- &salut_created);
-
- if (salut_created)
- {
- DEBUG ("Gconf says we already created a salut account once");
- return FALSE;
- }
-
accounts = tp_account_manager_get_valid_accounts (manager);
for (l = accounts; l != NULL; l = g_list_next (l))
@@ -68,14 +57,6 @@ should_create_salut_account (TpAccountManager *manager)
g_list_free (accounts);
- if (salut_created)
- {
- DEBUG ("Existing salut account already exists, flagging so in gconf");
- empathy_conf_set_bool (empathy_conf_get (),
- EMPATHY_PREFS_SALUT_ACCOUNT_CREATED,
- TRUE);
- }
-
return !salut_created;
}