Gio.AsyncResult.get_source_object
Description: Reference for Gio.AsyncResult.get_source_object

### Virtual Method

# Gio AsyncResultget_source_object

#### Declaration

    GObject*
    get_source_object (
      GAsyncResult* res
    )

#### Description

Gets the source object from a `GAsyncResult`.

#### Return value

Type: `GObject`

A new reference to the source object for the `res`, or `NULL` if there is none.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be `NULL`.