diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-11-09 16:26:11 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-11-09 16:26:11 +0000 |
commit | 9d6b555d036085af6c34dca850dc590d69d7f4e1 (patch) | |
tree | caa9aa84c8305781d35abdae66b36e92125a0b0a | |
parent | c71427dd9c74b5226954377c4651d0addc5edef0 (diff) |
Fix deprecation warnings
5 files changed, 10 insertions, 10 deletions
diff --git a/telepathy-ytstenut-glib/tests/server-client-ping.c b/telepathy-ytstenut-glib/tests/server-client-ping.c index 3bdaa43..66193e6 100644 --- a/telepathy-ytstenut-glib/tests/server-client-ping.c +++ b/telepathy-ytstenut-glib/tests/server-client-ping.c @@ -267,7 +267,7 @@ account_prepared_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)) { g_print ("failed to prepare account: %s\n", error->message); g_clear_error (&error); @@ -306,7 +306,7 @@ main (int argc, account = tp_yts_account_manager_ensure_account (am, path, NULL); g_free (path); - tp_account_prepare_async (account, NULL, account_prepared_cb, NULL); + tp_proxy_prepare_async (account, NULL, account_prepared_cb, NULL); loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (loop); diff --git a/telepathy-ytstenut-glib/tests/server-client-pong.c b/telepathy-ytstenut-glib/tests/server-client-pong.c index 65f2ef5..827198c 100644 --- a/telepathy-ytstenut-glib/tests/server-client-pong.c +++ b/telepathy-ytstenut-glib/tests/server-client-pong.c @@ -114,7 +114,7 @@ account_prepared_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)) { g_print ("failed to prepare account: %s\n", error->message); g_clear_error (&error); @@ -151,7 +151,7 @@ main (int argc, account = tp_yts_account_manager_ensure_account (am, path, NULL); g_free (path); - tp_account_prepare_async (account, NULL, account_prepared_cb, argv[2]); + tp_proxy_prepare_async (account, NULL, account_prepared_cb, argv[2]); loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (loop); diff --git a/telepathy-ytstenut-glib/tests/server-nosey-status.c b/telepathy-ytstenut-glib/tests/server-nosey-status.c index 978bbe8..4ec5f2f 100644 --- a/telepathy-ytstenut-glib/tests/server-nosey-status.c +++ b/telepathy-ytstenut-glib/tests/server-nosey-status.c @@ -263,7 +263,7 @@ account_prepared_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)) { g_print ("failed to prepare account: %s\n", error->message); g_clear_error (&error); @@ -304,7 +304,7 @@ main (int argc, account = tp_yts_account_manager_ensure_account (am, path, NULL); g_free (path); - tp_account_prepare_async (account, NULL, account_prepared_cb, NULL); + tp_proxy_prepare_async (account, NULL, account_prepared_cb, NULL); loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (loop); diff --git a/telepathy-ytstenut-glib/tests/server-passing-service.c b/telepathy-ytstenut-glib/tests/server-passing-service.c index f34a04e..9165a56 100644 --- a/telepathy-ytstenut-glib/tests/server-passing-service.c +++ b/telepathy-ytstenut-glib/tests/server-passing-service.c @@ -78,7 +78,7 @@ account_prepared_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)) { g_print ("failed to prepare account: %s\n", error->message); g_clear_error (&error); @@ -110,7 +110,7 @@ main (int argc, account = tp_yts_account_manager_ensure_account (am, path, NULL); g_free (path); - tp_account_prepare_async (account, NULL, account_prepared_cb, argv[2]); + tp_proxy_prepare_async (account, NULL, account_prepared_cb, argv[2]); loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (loop); diff --git a/telepathy-ytstenut-glib/tests/server-passing-status.c b/telepathy-ytstenut-glib/tests/server-passing-status.c index 1ce77ad..df02e98 100644 --- a/telepathy-ytstenut-glib/tests/server-passing-status.c +++ b/telepathy-ytstenut-glib/tests/server-passing-status.c @@ -157,7 +157,7 @@ account_prepared_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)) { g_print ("failed to prepare account: %s\n", error->message); g_clear_error (&error); @@ -189,7 +189,7 @@ main (int argc, account = tp_yts_account_manager_ensure_account (am, path, NULL); g_free (path); - tp_account_prepare_async (account, NULL, account_prepared_cb, NULL); + tp_proxy_prepare_async (account, NULL, account_prepared_cb, NULL); loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (loop); |