]> git.0d.be Git - empathy.git/commitdiff
Use tp_proxy_prepare_async instead of tp_account_prepare_async
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 19 Sep 2011 10:18:44 +0000 (12:18 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 19 Sep 2011 10:23:12 +0000 (12:23 +0200)
src/empathy-accounts-dialog.c
src/empathy-accounts.c

index a48bbc27293a51939fdbb30bd7634e1be6bcdf6d..ccda20079984cf280bd8c37f2205d062cbd91764 100644 (file)
@@ -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
index 8c9ab6812b6764025f72c593c62eece212c7fc9d..165dd052f02a291ebb84536b039ae320f5b05bee 100644 (file)
@@ -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;
         }