Gio.DBusInterface.get_object
Description: Reference for Gio.DBusInterface.get_object

### Virtual Method

# Gio DBusInterfaceget_object

since: 2.30

#### Declaration [src]

    GDBusObject*
    get_object (
      GDBusInterface* interface_
    )

#### Description [src]

Gets the `GDBusObject` that `interface_` belongs to, if any.

It is not safe to use the returned object if `interface_` or the returned object is being used from other threads. See `g_dbus_interface_dup_object()` for a thread-safe alternative.

Available since: 2.30

#### Return value

Type: `GDBusObject`

A `GDBusObject` or `NULL`. The returned reference belongs to `interface_` and should not be freed.

The returned data is owned by the instance.
The return value can be `NULL`.