Method

PurpleAccountSettingsset_string_list

unstable since: 3.0

Declaration [src]

void
purple_account_settings_set_string_list (
  PurpleAccountSettings* settings,
  const char* id,
  const char* item_id
)

Description [src]

Sets the value of a string list 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.
item_id

Type: const char*

The new active item id.

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