Method

PurplePresenceis_status_active

Declaration [src]

gboolean
purple_presence_is_status_active (
  PurplePresence* presence,
  const gchar* status_id
)

Description [src]

Gets whether or not a status in presence is active.

A status is active if itself or any of its sub-statuses are active.

Parameters

status_id 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.

Return value

Returns: gboolean
 

TRUE if the status is active, or FALSE.