Virtual Method

PurpleProtocolConversationset_avatar_async

unstable since: 3.0

Declaration [src]

void
set_avatar_async (
  PurpleProtocolConversation* protocol,
  PurpleConversation* conversation,
  PurpleAvatar* avatar,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Sets the avatar for conversation to pixbuf. Pass NULL to clear the current avatar.

Available since: 3.0

Parameters

conversation

Type: PurpleConversation

The conversation instance.

The data is owned by the caller of the method.
avatar

Type: PurpleAvatar

The new avatar.

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

Type: GCancellable

Optional GCancellable object, NULL to ignore.

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

Type: GAsyncReadyCallback

The callback to call after the message has been sent.

data

Type: gpointer

Optional user data to pass to callback.

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