Method

GioDesktopAppInfoget_filename

since: 2.24

Declaration

const char*
g_desktop_app_info_get_filename (
  GDesktopAppInfo* info
)

Description

When info was created from a known filename, return it. In some situations such as the GDesktopAppInfo returned from g_desktop_app_info_new_from_keyfile(), this function will return NULL.

Available since: 2.24

Return value

Type: const char*

The full path to the file for info, or NULL if not known.

The data is owned by the instance.
The return value can be NULL.
The value is a file system path, using the OS encoding.