### Method

# Gio DesktopAppInfo get_filename

since: 2.24

#### Declaration [src]

    const char*
    g_desktop_app_info_get_filename (
      GDesktopAppInfo* info
    )

#### Description [src]

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

Available since: 2.24

Gets property | `Gio.DesktopAppInfo:filename`

#### Return value

Type: `const char*`

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

The returned data is owned by the instance.
The return value can be `NULL`.
The value is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.