Method

PurpleIdleManagerset_source

since: 3.0

Declaration [src]

gboolean
purple_idle_manager_set_source (
  PurpleIdleManager* manager,
  const char* source,
  GDateTime* timestamp
)

Description [src]

Sets the timestamp of when source went idle to timestamp. If timestamp is NULL, source will be removed from manager.

Available since: 3.0

Parameters

source

Type: const char*

The name of the source.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
timestamp

Type: GDateTime

The new timestamp for source.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if PurpleIdleManager:timestamp has changed due to this call.