Method

GioDBusInterfacedup_object

Declaration

GDBusObject*
g_dbus_interface_dup_object (
  GDBusInterface* interface_
)

Description

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

Returns: GDBusObject
 

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

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