Method

PurpleHistoryremove_message_async

unstable since: 3.0

Declaration [src]

void
purple_history_remove_message_async (
  PurpleHistory* history,
  const char* id,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer data
)

Description [src]

Remove the message with the given id.

If there are multiple messages with the same id then only the most recent one will be removed.

Available since: 3.0

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

Parameters

id

Type: const char*

The id of the message.

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

An optional cancellable.

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

Type: GAsyncReadyCallback

An optional callback.

The argument can be NULL.
data

Type: gpointer

The user data to pass to the callback.

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