From f91744d3cfe0083338e03abc2ada88c9df7cb9d5 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 1 Feb 2012 20:27:01 +0000 Subject: tp_account_manager_create_account_finish: warn that the return has a limited lifetime Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45554 Signed-off-by: Simon McVittie Reviewed-by: Jonny Lamb --- telepathy-glib/account-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c index aac416b30..169adecb2 100644 --- a/telepathy-glib/account-manager.c +++ b/telepathy-glib/account-manager.c @@ -1280,7 +1280,7 @@ tp_account_manager_create_account_async (TpAccountManager *manager, * object, with the %TP_ACCOUNT_FEATURE_CORE feature ready on it. * * The caller must keep a ref to the returned object using g_object_ref() if - * it is to be kept. + * it is to be kept beyond the lifetime of @result. * * Returns: (transfer none): a new #TpAccount which was just created on * success, otherwise %NULL -- cgit v1.2.1