Method
PurpleAccountget_status_type_with_primitive
since: 2.0.0
Declaration [src]
PurpleStatusType*
purple_account_get_status_type_with_primitive (
PurpleAccount* account,
PurpleStatusPrimitive primitive
)
Description [src]
Returns the account status type with the specified primitive. Note: It is possible for an account to have more than one PurpleStatusType with the same primitive. In this case, the first PurpleStatusType is returned.
Available since: 2.0.0
Parameters
primitive
-
Type:
PurpleStatusPrimitive
The type of the status type to find.
Return value
Type: PurpleStatusType
The status if found, or NULL
.
The caller of the method takes ownership of the data, and is responsible for freeing it. |