Constructor
PurpleAccountSettingStringnew
unstable since: 3.0
Declaration [src]
PurpleAccountSetting*
purple_account_setting_string_new (
const char* id,
const char* label,
const char* default_value
)
Parameters
id-
Type:
const char*The id.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. label-
Type:
const char*The label.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. default_value-
Type:
const char*The default value.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PurpleAccountSettingString
The new setting.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |