mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
gsettingsbackend: remove useless check
GMemorySettingsBackend is always present, so there's no need to check for "no backends available" https://bugzilla.gnome.org/show_bug.cgi?id=620932
This commit is contained in:
parent
afa604f881
commit
38d21f6d8a
@ -978,10 +978,6 @@ g_settings_backend_get_default (void)
|
||||
if (extension == NULL)
|
||||
{
|
||||
extensions = g_io_extension_point_get_extensions (point);
|
||||
|
||||
if (extensions == NULL)
|
||||
g_error ("No GSettingsBackend implementations exist.");
|
||||
|
||||
extension = extensions->data;
|
||||
|
||||
if (strcmp (g_io_extension_get_name (extension), "memory") == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user