From 8c8ad6b6959801d97881dba347ce8827d470c7a2 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 4 Mar 2010 17:31:40 +0100 Subject: remove the salut_created gconf key (#611817) --- src/empathy-auto-salut-account-helper.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/empathy-auto-salut-account-helper.c') 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; } -- cgit v1.2.3