[glib] Clarify docs of g_async_result_get_source_object
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glib] Clarify docs of g_async_result_get_source_object
- Date: Wed, 30 Sep 2009 00:35:52 +0000 (UTC)
commit 5fdb169b72b749218766e507deab491c5f5b0d9e
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Sep 29 20:33:39 2009 -0400
Clarify docs of g_async_result_get_source_object
It returns a new reference. Reported in bug 596748
gio/gasyncresult.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/gio/gasyncresult.c b/gio/gasyncresult.c
index 4eb2a36..936a7bd 100644
--- a/gio/gasyncresult.c
+++ b/gio/gasyncresult.c
@@ -176,12 +176,13 @@ g_async_result_get_user_data (GAsyncResult *res)
/**
* g_async_result_get_source_object:
- * @res: a #GAsyncResult.
- *
+ * @res: a #GAsyncResult
+ *
* Gets the source object from a #GAsyncResult.
- *
- * Returns: the source object for the @res.
- **/
+ *
+ * Returns: a new reference to the source object for the @res,
+ * or %NULL if there is none.
+ */
GObject *
g_async_result_get_source_object (GAsyncResult *res)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]