Gio.AppInfo.reset_type_associations
function reset_type_associations(content_type: String): void {
// Gjs wrapper for g_app_info_reset_type_associations()
}
Removes all changes to the type associations done by Gio.AppInfo.prototype.set_as_default_for_type, Gio.AppInfo.prototype.set_as_default_for_extension, Gio.AppInfo.prototype.add_supports_type or Gio.AppInfo.prototype.remove_supports_type.
Since 2.20
- content_type
a content type