get_default_for_type


Description:

public static AppInfo? get_default_for_type (string content_type, bool must_support_uris)

Gets the default AppInfo for a given content type.

Parameters:

content_type

the content type to find a AppInfo for

must_support_uris

if true, the AppInfo is expected to support URIs

Returns:

AppInfo for given content_type or null on error.