Method

PurpleAttachmentget_filename

since: 3.0

Declaration [src]

gchar*
purple_attachment_get_filename (
  PurpleAttachment* attachment
)

Description [src]

Gets the base filename for attachment. Remote URI will be checked before local URI, but the basename of one of those is what will be returned.

Available since: 3.0

Return value

Type: gchar*

The filename for attachment.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.