get_default


Description:

[ CCode ( feature_test_macro = "G_SETTINGS_ENABLE_BACKEND" ) ]
[ Version ( since = "2.28" ) ]
public static SettingsBackend get_default ()

Returns the default SettingsBackend.

It is possible to override the default by setting the `GSETTINGS_BACKEND` environment variable to the name of a settings backend.

The user gets a reference to the backend.

Returns:

the default SettingsBackend, which will be a dummy (memory) settings backend if no other settings backend is available.