[next] telepathy-glib: TpAM: Document that _set_default() keeps an internal reference
Simon McVittie
smcv at kemper.freedesktop.org
Wed Apr 25 07:26:04 PDT 2012
Module: telepathy-glib
Branch: next
Commit: f464c89e68d8b460bba1247c9941e4a30ba22c2f
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=f464c89e68d8b460bba1247c9941e4a30ba22c2f
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 2b7ce85..576ea73 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