Function

GioUnixDesktopAppInfoget_categories

Declaration [src]

const char*
g_desktop_app_info_get_categories (
  GDesktopAppInfo* info
)

Description [src]

Gets the categories from the desktop file.

Parameters

info

Type: GDesktopAppInfo

A GDesktopAppInfo.

The data is owned by the caller of the function.

Return value

Type: const char*

The unparsed Categories key from the desktop file; i.e. no attempt is made to split it by ; or validate it.

The data is owned by the called function.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.