[Pkg-telepathy-commits] [telepathy-glib-1] 81/212: TpClientFactory: Fix documentation for custom singleton

Simon McVittie smcv at debian.org
Wed May 14 12:08:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-glib-1.

commit 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
  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib-1.git



More information about the Pkg-telepathy-commits mailing list