Method

PurpleXferset_thumbnail

since: 2.7.0

Declaration [src]

void
purple_xfer_set_thumbnail (
  PurpleXfer* xfer,
  gconstpointer thumbnail,
  gsize size,
  const gchar* mimetype
)

Description [src]

Sets the thumbnail data for a transfer.

Available since: 2.7.0

Parameters

thumbnail

Type: gconstpointer

A pointer to the thumbnail data, this will be copied.

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

Type: gsize

The size in bytes of the passed in thumbnail data.

mimetype

Type: const gchar*

The mimetype of the generated thumbnail.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.