aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-24 17:52:45 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-24 18:11:08 +0800
commit17460b3291e61861ed56cbb5d5867d910297da58 (patch)
treeb93b79c25b55c9d59faf5ff8c3a1200fbc5eba4f /src/empathy-accounts.c
parent45ca662701afa1fd92d26c587e56b6e1ade16e83 (diff)
downloadgsoc2013-empathy-17460b3291e61861ed56cbb5d5867d910297da58.tar
gsoc2013-empathy-17460b3291e61861ed56cbb5d5867d910297da58.tar.gz
gsoc2013-empathy-17460b3291e61861ed56cbb5d5867d910297da58.tar.bz2
gsoc2013-empathy-17460b3291e61861ed56cbb5d5867d910297da58.tar.lz
gsoc2013-empathy-17460b3291e61861ed56cbb5d5867d910297da58.tar.xz
gsoc2013-empathy-17460b3291e61861ed56cbb5d5867d910297da58.tar.zst
gsoc2013-empathy-17460b3291e61861ed56cbb5d5867d910297da58.zip
stop importing MC4 accounts
Diffstat (limited to 'src/empathy-accounts.c')
-rw-r--r--src/empathy-accounts.c33
1 files changed, 1 insertions, 32 deletions
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c
index 62fcaa0e8..89c304bff 100644
--- a/src/empathy-accounts.c
+++ b/src/empathy-accounts.c
@@ -45,7 +45,6 @@
#include "empathy-accounts-common.h"
#include "empathy-accounts-dialog.h"
#include "empathy-account-assistant.h"
-#include "empathy-import-mc4-accounts.h"
#include "empathy-auto-salut-account-helper.h"
#define DEBUG_FLAG EMPATHY_DEBUG_ACCOUNT
@@ -89,25 +88,6 @@ maybe_show_accounts_ui (TpAccountManager *manager)
}
static void
-cm_manager_prepared_cb (GObject *source,
- GAsyncResult *result,
- gpointer user_data)
-{
- if (!empathy_connection_managers_prepare_finish (
- EMPATHY_CONNECTION_MANAGERS (source), result, NULL))
- {
- g_warning ("Failed to prepare connection managers singleton");
- gtk_main_quit ();
- return;
- }
-
- empathy_accounts_import (TP_ACCOUNT_MANAGER (user_data),
- EMPATHY_CONNECTION_MANAGERS (source));
-
- maybe_show_accounts_ui (TP_ACCOUNT_MANAGER (user_data));
-}
-
-static void
account_manager_ready_for_accounts_cb (GObject *source_object,
GAsyncResult *result,
gpointer user_data)
@@ -151,18 +131,7 @@ account_manager_ready_for_accounts_cb (GObject *source_object,
}
else
{
- if (empathy_import_mc4_has_imported ())
- {
- maybe_show_accounts_ui (manager);
- }
- else
- {
- EmpathyConnectionManagers *cm_mgr =
- empathy_connection_managers_dup_singleton ();
-
- empathy_connection_managers_prepare_async (
- cm_mgr, cm_manager_prepared_cb, manager);
- }
+ maybe_show_accounts_ui (manager);
}
}