Gio.Settings.prototype.revert

function revert(): void {
    // Gjs wrapper for g_settings_revert()
}
  

Reverts all non-applied changes to the settings. This function does nothing unless settings is in 'delay-apply' mode; see Gio.Settings.prototype.delay. In the normal case settings are always applied immediately.

Change notifications will be emitted for affected keys.