[next] telepathy-glib: TpClientFactory: Fix documentation for custom singleton

Simon McVittie smcv at kemper.freedesktop.org
Thu Apr 3 07:25:28 PDT 2014


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

Author: Xavier Claessens <xavier.claessens at collabora.com>
Date:   Sun Mar 30 10:42:23 2014 -0400

TpClientFactory: Fix documentation for custom singleton

---

 telepathy-glib/client-factory.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/telepathy-glib/client-factory.c b/telepathy-glib/client-factory.c
index db77792..7b4375b 100644
--- a/telepathy-glib/client-factory.c
+++ b/telepathy-glib/client-factory.c
@@ -52,18 +52,18 @@
  *   TpAccountManager *manager;
  *
  *   factory = my_factory_new ();
- *   manager = tp_account_manager_new_with_factory (factory);
- *   tp_account_manager_set_default (manager);
+ *   tp_client_factory_set_default (factory);
  *
  *   ...
+ *   manager = tp_account_manager_dup ();
  *   tp_proxy_prepare_async (manager, am_features, callback, user_data);
  *   ...
  * }
  * ]|
  *
- * The call to tp_account_manager_set_default() near the beginning of main()
+ * The call to tp_client_factory_set_default() near the beginning of main()
  * will ensure that any libraries or plugins which also use Telepathy (and call
- * tp_account_manager_dup()) will share your #TpAccountManager.
+ * tp_client_factory_dup()) will share your #TpClientFactory.
  *
  * Since: 0.99.1
  */



More information about the telepathy-commits mailing list