Method
EBookContactsVCardadd_attribute_with_value_take
unstable since: 3.60
Declaration [src]
void
e_vcard_add_attribute_with_value_take (
EVCard* evcard,
EVCardAttribute* attr,
gchar* value
)
Description [src]
Prepends attr to evcard, setting it to value. This takes ownership of the attr and the value.
This is a convenience wrapper around e_vcard_attribute_add_value_take() and e_vcard_add_attribute().
See also e_vcard_add_attribute_with_value(), e_vcard_append_attribute_with_value().
Available since: 3.60
Parameters
attr-
Type:
EVCardAttributeAn
EVCardAttributeto add.The instance takes ownership of the data, and is responsible for freeing it. value-
Type:
gchar*A value to assign to the attribute.
The instance takes ownership of the data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string.