Method

PurpleContactInfoset_username

unstable since: 3.0

Declaration [src]

void
purple_contact_info_set_username (
  PurpleContactInfo* info,
  const gchar* username
)

Description [src]

Sets the username of info to username.

This is primarily used by protocol plugins like IRC when a user changes their “nick” which is their username.

Available since: 3.0

Parameters

username

Type: const gchar*

The new username.

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