mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 06:32:10 +01:00
GSettings: warn if use the 'memory' backend
but only if it was not explicitly selected.
This commit is contained in:
parent
6ae4d31e75
commit
746721293b
@ -1025,6 +1025,10 @@ g_settings_backend_get_default (void)
|
||||
g_error ("No GSettingsBackend implementations exist.");
|
||||
|
||||
extension = extensions->data;
|
||||
|
||||
if (strcmp (g_io_extension_get_name (extension), "memory") == 0)
|
||||
g_message ("Using the 'memory' GSettings backend. Your settings "
|
||||
"will not be saved or shared with other applications.");
|
||||
}
|
||||
|
||||
extension_type = g_io_extension_get_type (extension);
|
||||
|
Loading…
x
Reference in New Issue
Block a user