[empathy] Use tp_proxy_prepare_async instead of tp_account_prepare_async



commit e79a44f083fe138ab9e8b1fe04196e19b8a0cce8
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Sep 19 12:18:44 2011 +0200

    Use tp_proxy_prepare_async instead of tp_account_prepare_async

 src/empathy-accounts-dialog.c |    4 ++--
 src/empathy-accounts.c        |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index a48bbc2..ccda200 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 8c9ab68..165dd05 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;
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]