Method

PurpleAccountdisconnect_with_error

unstable since: 3.0

Declaration [src]

void
purple_account_disconnect_with_error (
  PurpleAccount* account,
  const char* message,
  GError* error
)

Description [src]

Disconnects account and sets PurpleAccount:error to error.

Available since: 3.0

Parameters

message

Type: const char*

An optional message.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
error

Type: GError

The error.

The instance takes ownership of the data, and is responsible for freeing it.