Method

PurplePresenceget_status

Declaration [src]

PurpleStatus*
purple_presence_get_status (
  PurplePresence* presence,
  const gchar* status_id
)

Description [src]

Gets the status with the specified ID from presence.

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: PurpleStatus
 

The PurpleStatus if found, or NULL.

 The data is owned by the instance.