Function

Gio-2.0Giocontent_type_from_mime_typeSince 2.18

  • Tries to find a content type based on the mime type name.

    Parameters

    • mime_type: string

      a mime type string

    Returns string

    Newly allocated string with content type or null. Free with g_free()

    2.18