Method

PurpleAccountset_error

since: 3.0

Declaration [src]

void
purple_account_set_error (
  PurpleAccount* account,
  PurpleConnectionErrorInfo* info
)

Description [src]

Sets the error of account to info. Note that setting this won’t disconnect the account. This is intended to be called by libpurple when there is a connection failure, when invalid settings are entered in an account editor, or similar situations.

Available since: 3.0

Sets propertyPurple.Account:error

Parameters

info

Type: PurpleConnectionErrorInfo

The PurpleConnectionErrorInfo to set.

The argument can be NULL.
The instance takes ownership of the data, and is responsible for freeing it.