Constructor
GioDesktopAppInfonew_from_filename
Parameters
filename
-
Type:
const char*
The path of a desktop file, in the GLib filename encoding.
The data is owned by the caller of the function. The value is a file system path, using the OS encoding.
Return value
Type: GDesktopAppInfo
A new GDesktopAppInfo
or NULL
on error.
The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL . |