aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-19 18:18:44 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-09-19 18:23:12 +0800
commite79a44f083fe138ab9e8b1fe04196e19b8a0cce8 (patch)
tree00355579a7eb31c2fd9a254f07f46da8ed9a066d /src
parent6670167794afb834c87fa7bae7286567b7a84cb3 (diff)
downloadgsoc2013-empathy-e79a44f083fe138ab9e8b1fe04196e19b8a0cce8.tar
gsoc2013-empathy-e79a44f083fe138ab9e8b1fe04196e19b8a0cce8.tar.gz
gsoc2013-empathy-e79a44f083fe138ab9e8b1fe04196e19b8a0cce8.tar.bz2
gsoc2013-empathy-e79a44f083fe138ab9e8b1fe04196e19b8a0cce8.tar.lz
gsoc2013-empathy-e79a44f083fe138ab9e8b1fe04196e19b8a0cce8.tar.xz
gsoc2013-empathy-e79a44f083fe138ab9e8b1fe04196e19b8a0cce8.tar.zst
gsoc2013-empathy-e79a44f083fe138ab9e8b1fe04196e19b8a0cce8.zip
Use tp_proxy_prepare_async instead of tp_account_prepare_async
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c4
-rw-r--r--src/empathy-accounts.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index a48bbc272..ccda20079 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1887,7 +1887,7 @@ account_prepare_cb (GObject *source_object,
TpAccount *account = TP_ACCOUNT (source_object);
GError *error = NULL;
- if (!tp_account_prepare_finish (account, result, &error))
+ if (!tp_proxy_prepare_finish (account, result, &error))
{
DEBUG ("Failed to prepare account: %s", error->message);
g_error_free (error);
@@ -1903,7 +1903,7 @@ accounts_dialog_account_validity_changed_cb (TpAccountManager *manager,
gboolean valid,
EmpathyAccountsDialog *dialog)
{
- tp_account_prepare_async (account, NULL, account_prepare_cb, dialog);
+ tp_proxy_prepare_async (account, NULL, account_prepare_cb, dialog);
}
static void
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c
index 8c9ab6812..165dd052f 100644
--- a/src/empathy-accounts.c
+++ b/src/empathy-accounts.c
@@ -65,7 +65,7 @@ account_prepare_cb (GObject *source_object,
TpAccount *account = TP_ACCOUNT (source_object);
GError *error = NULL;
- if (!tp_account_prepare_finish (account, result, &error))
+ if (!tp_proxy_prepare_finish (account, result, &error))
{
DEBUG ("Failed to prepare account: %s", error->message);
g_error_free (error);
@@ -121,7 +121,7 @@ account_manager_ready_for_accounts_cb (GObject *source_object,
bus = tp_dbus_daemon_dup (NULL);
if ((account = tp_account_new (bus, account_path, &error)))
{
- tp_account_prepare_async (account, NULL, account_prepare_cb, manager);
+ tp_proxy_prepare_async (account, NULL, account_prepare_cb, manager);
g_object_unref (bus);
return;
}