mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
Clarify docs of g_async_result_get_source_object
It returns a new reference. Reported in bug 596748
This commit is contained in:
@@ -176,12 +176,13 @@ g_async_result_get_user_data (GAsyncResult *res)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_async_result_get_source_object:
|
* g_async_result_get_source_object:
|
||||||
* @res: a #GAsyncResult.
|
* @res: a #GAsyncResult
|
||||||
*
|
*
|
||||||
* Gets the source object from 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 *
|
GObject *
|
||||||
g_async_result_get_source_object (GAsyncResult *res)
|
g_async_result_get_source_object (GAsyncResult *res)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user