AppInfoT.getDefaultForType

Gets the default #GAppInfo for a given content type.

template AppInfoT(TStruct)
static
getDefaultForType

Parameters

contentType string

the content type to find a #GAppInfo for

mustSupportUris bool

if %TRUE, the #GAppInfo is expected to support URIs

Return: #GAppInfo for given @content_type or %NULL on error.

Meta