Method

TalkatuAttachmentget_filename

Declaration [src]

gchar*
talkatu_attachment_get_filename (
  TalkatuAttachment* 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.

Return value

Returns: 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.