Virtual Method
PurpleProtocolConversationset_avatar_async
unstable since: 3.0
Declaration [src]
void
set_avatar_async (
PurpleProtocolConversation* protocol,
PurpleConversation* conversation,
PurpleImage* avatar,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Sets the avatar for conversation to avatar. Pass NULL to clear the
current avatar.
Available since: 3.0
Parameters
conversation-
Type:
PurpleConversationThe conversation instance.
The data is owned by the caller of the method. avatar-
Type:
PurpleImageThe new avatar.
The argument can be NULL.The data is owned by the caller of the method. cancellable-
Type:
GCancellableOptional GCancellable object,
NULLto ignore.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackThe callback to call after the message has been sent.
data-
Type:
gpointerOptional user data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.