Method

GioFileInfoget_name

Declaration

const char*
g_file_info_get_name (
  GFileInfo* info
)

Description

Gets the name for a file. This is guaranteed to always be set.

Return value

Returns: filename
 

A string containing the file name.

 The data is owned by the instance.
 The string is a file system path, using the OS encoding.