Method

PhoshIdleDBusObjectpeek_idle_monitor

Declaration [src]

PhoshIdleDBusIdleMonitor*
phosh_idle_dbus_object_peek_idle_monitor (
  PhoshIdleDBusObject* object
)

Description [src]

Like phosh_idle_dbus_object_get_idle_monitor() but doesn’t increase the reference count on the returned object.

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

This method is not directly available to language bindings.

Return value

Type: PhoshIdleDBusIdleMonitor

A PhoshIdleDBusIdleMonitor or NULL if object does not implement the interface. Do not free the returned object, it is owned by object.

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