API Version: 2.0
Library Version: 2.83.0
Generated by gi-docgen 2024.1
GAppInfo* g_app_info_get_default_for_type ( const char* content_type, gboolean must_support_uris )
Gets the default GAppInfo for a given content type.
GAppInfo
content_type
Type: const char*
const char*
The content type to find a GAppInfo for.
must_support_uris
Type: gboolean
gboolean
If TRUE, the GAppInfo is expected to support URIs.
TRUE
Type: GAppInfo
GAppInfo for given content_type or NULL on error.
NULL