Constructor
GioDesktopAppInfonew_from_filename
Declaration [src]
GDesktopAppInfo*
g_desktop_app_info_new_from_filename (
const char* 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 platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.
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 . |