[next] telepathy-glib: TpAM: Document that _set_default() keeps an internal reference
Simon McVittie
smcv at kemper.freedesktop.org
Wed Apr 25 07:26:05 PDT 2012
Module: telepathy-glib
Branch: next
Commit: bab960e0f3f63a52850e76b80b3dae77ea9c174d
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=bab960e0f3f63a52850e76b80b3dae77ea9c174d
Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date: Tue Apr 3 11:50:15 2012 +0200
TpAM: Document that _set_default() keeps an internal reference
---
telepathy-glib/account-manager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index 2312234..f373cc4 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -784,6 +784,9 @@ static gpointer starter_account_manager_proxy = NULL;
* #TpAccountManager to use that factory should call this after calling
* tp_account_manager_new_with_factory().
*
+ * Unlike tp_account_manager_dup(), this function will keep an internal
+ * reference to @manager, so it will never be destroyed.
+ *
* Note that @manager must use the default #TpDBusDaemon as returned by
* tp_dbus_daemon_dup()
*
More information about the telepathy-commits
mailing list