Method

PurpleProtocolConversationset_title_async

unstable since: 3.0

Declaration [src]

void
purple_protocol_conversation_set_title_async (
  PurpleProtocolConversation* protocol,
  PurpleConversation* conversation,
  const char* title,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Sets the title of a conversation.

Available since: 3.0

This method completes asynchronously. Use purple_protocol_conversation_set_title_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

conversation

Type: PurpleConversation

The conversation instance.

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

Type: const char*

The new title.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
cancellable

Type: GCancellable

Optional GCancellable object.

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

Type: GAsyncReadyCallback

Callback to call after the title has been set.

The argument can be NULL.
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.