Function

Gio-2.0Giocontent_type_get_mime_type

  • Gets the mime type for the content type, if one is registered.

    Parameters

    • type: string

      a content type string

    Returns string

    the registered mime type for the given type, or null if unknown; free with g_free().