Gio.DBusInterface.dup_object

### Method

# Gio DBusInterfacedup_object

since: 2.32

#### Declaration [src]

    GDBusObject*
    g_dbus_interface_dup_object (
      GDBusInterface* interface_
    )

#### Description [src]

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

Available since: 2.32

This method is renamed to `g_dbus_interface_get_object()` in language bindings.

#### Return value

Type: `GDBusObject`

A `GDBusObject` or `NULL`. The returned reference should be freed with g_object_unref().

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