Method

PurpleAccountSettingsget_boolean

unstable since: 3.0

Declaration [src]

gboolean
purple_account_settings_get_boolean (
  PurpleAccountSettings* settings,
  const char* id,
  gboolean fallback
)

Description [src]

Gets the value of a boolean setting.

If a non boolean setting exists with id, fallback will be returned.

Available since: 3.0

Parameters

id

Type: const char*

The id of the setting.

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

Type: gboolean

The fallback value.

Return value

Type: gboolean

The value of the boolean if found, otherwise fallback.