Method

PurpleAccountget_bool

since: 2.0

Declaration [src]

gboolean
purple_account_get_bool (
  PurpleAccount* account,
  const char* name,
  gboolean default_value
)

Description [src]

Returns a protocol-specific boolean setting for an account.

Available since: 2.0

Parameters

name

Type: const char*

The name of the setting.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
default_value

Type: gboolean

The default value.

Return value

Type: gboolean

The value.