Method

PurpleContactInfoset_avatar

since: 3.0

Declaration [src]

void
purple_contact_info_set_avatar (
  PurpleContactInfo* info,
  PurpleAvatar* avatar
)

Description [src]

Sets the avatar for info to avatar. If avatar is NULL an existing avatar will be removed.

Typically this should only called by the protocol plugin.

Available since: 3.0

Parameters

avatar

Type: PurpleAvatar

The new avatar to set.

The argument can be NULL.
The data is owned by the caller of the function.