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:
Dan Winship 2011-09-22 11:52:53 -04:00
parent afa604f881
commit 38d21f6d8a

View File

@ -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)