Method

PurplePresenceset_status_active

since: 2.0

Declaration [src]

void
purple_presence_set_status_active (
  PurplePresence* presence,
  const gchar* status_id,
  gboolean active
)

Description [src]

Sets the active state of a status in a presence.

Only independent statuses can be set inactive. Normal statuses can only be set active, so if you wish to disable a status, set another non-independent status to active, or use purple_presence_switch_status().

Available since: 2.0

Parameters

status_id

Type: const gchar*

The ID of the status.

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

Type: gboolean

The active state.