Method

PurpleAccountOptionset_list

since: 2.0

Declaration [src]

void
purple_account_option_set_list (
  PurpleAccountOption* option,
  GList* values
)

Description [src]

Sets the list values for an account option.

The list passed will be owned by the account option, and the strings inside will be freed automatically.

The list is in key, value pairs. The key is the ID stored and used internally, and the value is the label displayed.

Available since: 2.0

Parameters

values

Type: A list of None

The default list value.

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