Method

PhoshIdleDBusIdleMonitorcall_add_idle_watch_finish

Declaration [src]

gboolean
phosh_idle_dbus_idle_monitor_call_add_idle_watch_finish (
  PhoshIdleDBusIdleMonitor* proxy,
  guint* out_id,
  GAsyncResult* res,
  GError** error
)

Description [src]

Finishes an operation started with phosh_idle_dbus_idle_monitor_call_add_idle_watch().

Parameters

out_id guint*
 

Return location for return parameter or NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
res GAsyncResult
 

The GAsyncResult obtained from the GAsyncReadyCallback passed to phosh_idle_dbus_idle_monitor_call_add_idle_watch().

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the call succeeded, FALSE if error is set.