Virtual Method

GioDBusInterfaceget_object

Declaration

GDBusObject*
get_object (
  GDBusInterface* interface_
)

Description

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

Returns: GDBusObject
 

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

 The data is owned by the called function.
 The return value can be NULL.