Method
PurplePersonset_avatar
unstable since: 3.0
Declaration [src]
void
purple_person_set_avatar (
PurplePerson* person,
PurpleImage* avatar
)
Description [src]
Sets the avatar of person to avatar. If avatar is NULL then the previous
avatar is cleared.
This should only be called in direct response to a user interaction to set a
custom avatar. Protocol plugins should only be setting the avatars of
PurpleContact.
Available since: 3.0
| Sets property | Purple.Person:avatar |
Parameters
avatar-
Type:
PurpleImageThe new avatar.
The argument can be NULL.The data is owned by the caller of the method.