Constructor
PurpleContactInfonew
unstable since: 3.0
[−]
Description [src]
Creates a new PurpleContactInfo
.
If id
is NULL
, an ID will be randomly generated.
Available since: 3.0
[−]
Parameters
id
-
Type:
const gchar*
The id of the contact.
The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
[−]
Return value
Type: PurpleContactInfo
The new instance.
The caller of the function takes ownership of the data, and is responsible for freeing it. |