Method

PurpleImageset_friendly_filename

unstable since: 3.0

Declaration [src]

void
purple_image_set_friendly_filename (
  PurpleImage* image,
  const gchar* filename
)

Description [src]

Sets the “friendly filename” for the image. This don’t have to be a real name, because it’s used for displaying or as a default file name when the user wants to save the image to the disk.

The provided filename may either be a full path, or contain filesystem-unfriendly characters, because it will be reformatted.

Available since: 3.0

Parameters

filename

Type: const gchar*

The friendly filename.

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