[next] telepathy-glib: tp_account_update_parameters_vardict_async: rename

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Thu Feb 27 06:07:34 PST 2014


Module: telepathy-glib
Branch: next
Commit: 62a942a0b034c627ad8c1f5d7c377cd5b2568945
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=62a942a0b034c627ad8c1f5d7c377cd5b2568945

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Tue Feb 18 15:36:52 2014 +0100

tp_account_update_parameters_vardict_async: rename

---

 docs/reference/telepathy-glib/telepathy-glib-sections.txt |    4 ++--
 telepathy-glib/account.c                                  |   12 ++++++------
 telepathy-glib/account.h                                  |    4 ++--
 tests/dbus/account.c                                      |    4 ++--
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/docs/reference/telepathy-glib/telepathy-glib-sections.txt b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
index c2dfaad..5adf30e 100644
--- a/docs/reference/telepathy-glib/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib/telepathy-glib-sections.txt
@@ -3992,8 +3992,8 @@ tp_account_reconnect_async
 tp_account_reconnect_finish
 tp_account_is_enabled
 tp_account_is_usable
-tp_account_update_parameters_vardict_async
-tp_account_update_parameters_vardict_finish
+tp_account_update_parameters_async
+tp_account_update_parameters_finish
 tp_account_remove_async
 tp_account_remove_finish
 tp_account_set_display_name_async
diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index e889bdb..b407134 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -2708,7 +2708,7 @@ _tp_account_updated_cb (TpAccount *proxy,
 }
 
 /**
- * tp_account_update_parameters_vardict_async:
+ * tp_account_update_parameters_async:
  * @account: a #TpAccount
  * @parameters: (transfer none): a variant of type %G_VARIANT_TYPE_VARDICT
  *  containing new parameters to set on @account
@@ -2728,7 +2728,7 @@ _tp_account_updated_cb (TpAccount *proxy,
  * Since: 0.17.6
  */
 void
-tp_account_update_parameters_vardict_async (TpAccount *account,
+tp_account_update_parameters_async (TpAccount *account,
     GVariant *parameters,
     const gchar **unset_parameters,
     GAsyncReadyCallback callback,
@@ -2742,7 +2742,7 @@ tp_account_update_parameters_vardict_async (TpAccount *account,
   hash = _tp_asv_from_vardict (parameters);
 
   result = g_simple_async_result_new (G_OBJECT (account),
-      callback, user_data, tp_account_update_parameters_vardict_async);
+      callback, user_data, tp_account_update_parameters_async);
 
   tp_cli_account_call_update_parameters (account, -1, hash,
       unset_parameters, _tp_account_updated_cb, result,
@@ -2755,7 +2755,7 @@ tp_account_update_parameters_vardict_async (TpAccount *account,
 }
 
 /**
- * tp_account_update_parameters_vardict_finish:
+ * tp_account_update_parameters_finish:
  * @account: a #TpAccount
  * @result: a #GAsyncResult
  * @reconnect_required: (out) (type GStrv) (transfer full): a #GStrv to
@@ -2769,13 +2769,13 @@ tp_account_update_parameters_vardict_async (TpAccount *account,
  * Since: 0.17.6
  */
 gboolean
-tp_account_update_parameters_vardict_finish (TpAccount *account,
+tp_account_update_parameters_finish (TpAccount *account,
     GAsyncResult *result,
     gchar ***reconnect_required,
     GError **error)
 {
   _tp_implement_finish_copy_pointer (account,
-      tp_account_update_parameters_vardict_async, g_strdupv,
+      tp_account_update_parameters_async, g_strdupv,
       reconnect_required);
 
 }
diff --git a/telepathy-glib/account.h b/telepathy-glib/account.h
index 579975f..ff36adf 100644
--- a/telepathy-glib/account.h
+++ b/telepathy-glib/account.h
@@ -123,11 +123,11 @@ gboolean tp_account_is_enabled (TpAccount *account);
 gboolean tp_account_is_usable (TpAccount *account);
 
 _TP_AVAILABLE_IN_0_18
-void tp_account_update_parameters_vardict_async (TpAccount *account,
+void tp_account_update_parameters_async (TpAccount *account,
     GVariant *parameters, const gchar **unset_parameters,
     GAsyncReadyCallback callback, gpointer user_data);
 _TP_AVAILABLE_IN_0_18
-gboolean tp_account_update_parameters_vardict_finish (TpAccount *account,
+gboolean tp_account_update_parameters_finish (TpAccount *account,
     GAsyncResult *result, gchar ***reconnect_required, GError **error);
 
 void tp_account_remove_async (TpAccount *account,
diff --git a/tests/dbus/account.c b/tests/dbus/account.c
index ebdc56b..eadac87 100644
--- a/tests/dbus/account.c
+++ b/tests/dbus/account.c
@@ -277,11 +277,11 @@ test_reconnect (Test *test,
   test->account = tp_tests_account_new (test->dbus, ACCOUNT_PATH, NULL);
   g_assert (test->account != NULL);
 
-  tp_account_update_parameters_vardict_async (test->account,
+  tp_account_update_parameters_async (test->account,
       g_variant_new_parsed ("{ 'set': <%s> }", "value"), unset,
       tp_tests_result_ready_cb, &test->result);
   tp_tests_run_until_result (&test->result);
-  tp_account_update_parameters_vardict_finish (test->account, test->result,
+  tp_account_update_parameters_finish (test->account, test->result,
       &reconnect_required, &test->error);
 
   g_assert_no_error (test->error);



More information about the telepathy-commits mailing list