GLib.BookmarkFile.prototype.set_mime_type

function set_mime_type(uri: String, mime_type: String): void {
    // Gjs wrapper for g_bookmark_file_set_mime_type()
}
  

Sets mime_type as the MIME type of the bookmark for uri.

If a bookmark for uri cannot be found then it is created.

Since 2.12

uri

a valid URI

mime_type

a MIME type