Method

PurpleAccountSettingsset_boolean

unstable since: 3.0

Declaration [src]

void
purple_account_settings_set_boolean (
  PurpleAccountSettings* settings,
  const char* id,
  gboolean value
)

Description [src]

Sets the value of a boolean setting if found.

If a setting is not found with the id or the setting is of a different type this does nothing.

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.
value

Type: gboolean

The new value.